MDL-56395 Gradebook item titles - adjusting category titles

This commit is contained in:
John Beedell 2016-10-24 11:43:10 +01:00
parent 89eacee7a2
commit 0cfeb01496

View File

@ -1602,9 +1602,10 @@ class grade_report_grader extends grade_report {
}
}
$name = shorten_text($element['object']->get_name());
$name = $element['object']->get_name();
$courseheaderid = 'courseheader_' . clean_param($name, PARAM_ALPHANUMEXT);
$courseheader = html_writer::tag('span', $name, array('id' => $courseheaderid));
$courseheader = html_writer::tag('span', $name, array('id' => $courseheaderid,
'title' => $name, 'class' => 'gradeitemheader'));
$courseheader .= html_writer::label($showing, $courseheaderid, false, array('class' => 'accesshide'));
$courseheader .= $icon;