Skip to content

Commit

Permalink
MDL-58131 googledocs: Add manage url -> drive
Browse files Browse the repository at this point in the history
Part of MDL-58220
  • Loading branch information
Damyon Wiese committed Apr 3, 2017
1 parent 5ffaf17 commit 5823a27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ protected function fp_js_template_generallayout() {
</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>
Expand Down
3 changes: 3 additions & 0 deletions repository/googledocs/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ public function get_listing($path='', $page = '') {
$ret['defaultreturntype'] = $this->default_returntype();
$ret['path'] = $this->build_breadcrumb($path);
$ret['list'] = $results;
$ret['manage'] = 'https://drive.google.com/';

return $ret;
}

Expand All @@ -248,6 +250,7 @@ public function search($searchtext, $page = 0) {
$ret['dynload'] = true;
$ret['path'] = $this->build_breadcrumb($path);
$ret['list'] = $results;
$ret['manage'] = 'https://drive.google.com/';
return $ret;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5823a27

Please sign in to comment.