mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-56395 Gradebook item titles - adjusting category titles
This commit is contained in:
parent
89eacee7a2
commit
0cfeb01496
@ -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);
|
$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 .= html_writer::label($showing, $courseheaderid, false, array('class' => 'accesshide'));
|
||||||
$courseheader .= $icon;
|
$courseheader .= $icon;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user