mirror of
https://github.com/moodle/moodle.git
synced 2025-05-13 11:51:22 +02:00
Improve display of preview attemtp summary on quiz view page.
This commit is contained in:
parent
29a5680ef7
commit
e584e7c84e
@ -219,7 +219,11 @@
|
||||
$row = array();
|
||||
|
||||
// Add the attempt number, making it a link, if appropriate.
|
||||
$row[] = make_review_link($attempt->attempt, $quiz, $attempt);
|
||||
if ($attempt->preview) {
|
||||
$row[] = make_review_link(get_string('preview', 'quiz'), $quiz, $attempt);
|
||||
} else {
|
||||
$row[] = make_review_link($attempt->attempt, $quiz, $attempt);
|
||||
}
|
||||
|
||||
// prepare strings for time taken and date completed
|
||||
$timetaken = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user