diff --git a/lms/templates/quiz.html b/lms/templates/quiz.html index f0d585e4..7a163bee 100644 --- a/lms/templates/quiz.html +++ b/lms/templates/quiz.html @@ -9,11 +9,20 @@
-
{{ quiz.title }}
-
{{ _("This quiz has {0} questions.").format(quiz.questions | length) }}
- {% if quiz.time %} -
{{ _("This is a time bound quiz. You will have {0} seconds per question.").format(quiz.time) }}
- {% endif %} +
{{ quiz.title }}
+
+ {{ _("This quiz has {0} questions.").format(quiz.questions | length) }} + + {% if quiz.max_attempts %} + {% set suffix = "times" if quiz.max_attempts > 1 else "time" %} + {{ _("You can attempt this quiz {0} {1}.").format(quiz.max_attempts, suffix) }} + {% endif %} + + {% if quiz.time %} + {{ _("The quiz is time bound. You will have {0} seconds per question.").format(quiz.time) }} + {% endif %} +
+
{{ _("Start") }}