mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-58131 googledocs: Add manage url -> drive
Part of MDL-58220
This commit is contained in:
parent
5ffaf17dad
commit
5823a27e7e
@ -601,7 +601,7 @@ class core_files_renderer extends plugin_renderer_base {
|
||||
</a>
|
||||
</div>
|
||||
<div class="fp-tb-manage">
|
||||
<a title="'. get_string('settings', 'repository') .'" href="#">
|
||||
<a title="'. get_string('manageurl', 'repository') .'" href="#">
|
||||
' . $this->pix_icon('a/setting', '') . '
|
||||
</a>
|
||||
</div>
|
||||
|
@ -224,6 +224,8 @@ class repository_googledocs extends repository {
|
||||
$ret['defaultreturntype'] = $this->default_returntype();
|
||||
$ret['path'] = $this->build_breadcrumb($path);
|
||||
$ret['list'] = $results;
|
||||
$ret['manage'] = 'https://drive.google.com/';
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
@ -248,6 +250,7 @@ class repository_googledocs extends repository {
|
||||
$ret['dynload'] = true;
|
||||
$ret['path'] = $this->build_breadcrumb($path);
|
||||
$ret['list'] = $results;
|
||||
$ret['manage'] = 'https://drive.google.com/';
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="fp-tb-manage">
|
||||
<a title="{{#str}}settings, repository{{/str}}" class="btn btn-secondary btn-sm" href="#">
|
||||
<a title="{{#str}}manageurl, repository{{/str}}" class="btn btn-secondary btn-sm" href="#">
|
||||
{{#pix}}a/setting{{/pix}}
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user