Merge branch 'MDL-79324-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user