MDL-58131 googledocs: Add manage url -> drive

Part of MDL-58220
This commit is contained in:
Damyon Wiese 2017-03-09 09:38:02 +08:00
parent 5ffaf17dad
commit 5823a27e7e
3 changed files with 5 additions and 2 deletions

View File

@ -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>

View File

@ -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;
}

View File

@ -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>