Merge branch 'MDL-77636-master' of https://github.com/mihailges/moodle

This commit is contained in:
Andrew Nicols
2023-06-22 14:29:42 +02:00
committed by Sara Arjona
+3 -2
View File
@@ -186,8 +186,9 @@ if (has_capability('moodle/grade:viewall', $context)) {
}
}
$userreportrenderer = $PAGE->get_renderer('gradereport_user');
// Add previous/next user navigation.
echo $userreportrenderer->user_navigation($gui, $userid, $courseid);
// Render the user report (previous/next) navigation in a sticky footer.
$stickyfooter = new core\output\sticky_footer($userreportrenderer->user_navigation($gui, $userid, $courseid));
echo $OUTPUT->render($stickyfooter);
}
} else {
// Students will see just their own report.