mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-48171 gradebook: Use proper apis to get item name
This commit is contained in:
parent
683d7de4d1
commit
74b28381c6
@ -832,7 +832,8 @@ class grade_report_grader extends grade_report {
|
||||
'id' => $this->course->id,
|
||||
'item' => 'grade',
|
||||
'itemid' => $element['object']->id));
|
||||
$singleview = $OUTPUT->action_icon($url, new pix_icon('t/editstring', get_string('singleview', 'grades', $element['object']->itemname)));
|
||||
$singleview = $OUTPUT->action_icon($url, new pix_icon('t/editstring', get_string('singleview', 'grades',
|
||||
$element['object']->get_name())));
|
||||
}
|
||||
|
||||
$itemcell->colspan = $colspan;
|
||||
|
Loading…
x
Reference in New Issue
Block a user