mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-80374 grade: show localised plugin name in report column heading.
This commit is contained in:
parent
a891866cbd
commit
d51ebb89f4
@ -2027,7 +2027,8 @@ class grade_structure {
|
||||
}
|
||||
|
||||
$url = new moodle_url('/mod/' . $itemmodule . '/grade.php', $args);
|
||||
$title = get_string('advancedgrading', 'gradereport_grader', $itemmodule);
|
||||
$title = get_string('advancedgrading', 'gradereport_grader',
|
||||
get_string('pluginname', "mod_{$itemmodule}"));
|
||||
$gpr->add_url_params($url);
|
||||
return html_writer::link($url, $title,
|
||||
['class' => 'dropdown-item', 'aria-label' => $title, 'role' => 'menuitem']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user