MDL-62014 course: Add title to activity completion button
This commit is contained in:
+2
-1
@@ -551,7 +551,8 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
$output .= html_writer::empty_tag('input', array(
|
||||
'type' => 'hidden', 'name' => 'completionstate', 'value' => $newstate));
|
||||
$output .= html_writer::tag('button',
|
||||
$this->output->pix_icon('i/completion-' . $completionicon, $imgalt), array('class' => 'btn btn-link'));
|
||||
$this->output->pix_icon('i/completion-' . $completionicon, $imgalt),
|
||||
array('class' => 'btn btn-link', 'title' => $imgalt));
|
||||
$output .= html_writer::end_tag('div');
|
||||
$output .= html_writer::end_tag('form');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user