Merge branch 'MDL-79324-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE

This commit is contained in:
Huong Nguyen
2026-03-09 09:03:28 +07:00
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -534,6 +534,10 @@ class renderer extends plugin_renderer_base {
*/
public function during_attempt_tertiary_nav($quizviewurl): string {
$output = '';
if ($this->page->pagelayout === 'secure') {
// Do not show the back button in the secure layout on quiz pages.
return $output;
}
$output .= html_writer::start_div('tertiary-navigation');
$output .= html_writer::start_div('row');
$output .= html_writer::start_div('navitem');
@@ -79,3 +79,4 @@ Feature: Attempt a quiz in secure layout
But I should not see "Quiz 1 description"
And I should not see "Opened:"
And I should not see "Closes:"
And I should not see "Back"