Merge branch 'MDL-80374-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE

This commit is contained in:
Jun Pataleta
2024-01-22 16:29:38 +08:00
+2 -1
View File
@@ -2221,7 +2221,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']);