Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
Fix: Minor issue with edit button.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Feb 6, 2017
1 parent 4495f8e commit fd11d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/output/core_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1766,12 +1766,12 @@ public function edit_button(moodle_url $url) {
$url->param('edit', 'off');
$btn = 'btn-danger';
$title = get_string('turneditingoff');
$icon = 'fa-power-off';
$icon = 'power-off';
} else {
$url->param('edit', 'on');
$btn = 'btn-success';
$title = get_string('turneditingon');
$icon = 'fa-edit';
$icon = 'edit';
}
$icon = $this->getfontawesomemarkup($icon, array('fa-fw'));
$html .= html_writer::tag('a', $icon.$title, array('href' => $url, 'class' => 'btn '.$btn, 'title' => $title));
Expand Down

0 comments on commit fd11d08

Please sign in to comment.