mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-15750 - After the close date, the teacher cannot preview a quiz becuase the timer thinks the time is already up. Also, move the timer in to the new navigation block.
This commit is contained in:
parent
5bbf20b48d
commit
5533791abc
5 changed files with 24 additions and 55 deletions
|
@ -828,8 +828,12 @@ class quiz_attempt_nav_panel extends quiz_nav_panel_base {
|
|||
}
|
||||
|
||||
protected function get_end_bits() {
|
||||
return '<input type="submit" name="gotosummary" value="' .
|
||||
$output = '';
|
||||
$output .= '<input type="submit" name="gotosummary" value="' .
|
||||
get_string('endtest', 'quiz') . '" class="endtestlink" />';
|
||||
$output .= '<div id="quiz-timer">' . get_string('timeleft', 'quiz') .
|
||||
' <span id="quiz-time-left"></span></div>';
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue