From 0cfeb014962b78b4f02fd31bb2a58cea8a717002 Mon Sep 17 00:00:00 2001 From: John Beedell Date: Mon, 24 Oct 2016 11:43:10 +0100 Subject: [PATCH] MDL-56395 Gradebook item titles - adjusting category titles --- grade/report/grader/lib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php index 994a25a7d92..2d9378bfd04 100644 --- a/grade/report/grader/lib.php +++ b/grade/report/grader/lib.php @@ -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;