1
0
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:
tjhunt 2007-07-19 10:27:54 +00:00
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 = '';