{% extends "base.html" %} {% load i18n %} {% load quiz_tags %} {% block title %} {{ quiz.title}} | {% trans 'Learning management system' %} {% endblock %} {% block description %} {% trans "Quiz Results for" %} {{ quiz.title }} {% endblock %} {% block content %}
{% trans 'Calculating your result...' %}
{% if previous.answers %}

{% trans "The previous question" %}:

{{ previous.previous_question }}

Your answer was {{ previous.previous_outcome|yesno:"correct,incorrect" }}

{% load i18n %} {% if previous.answers %} {% if user_was_incorrect %}
{% trans "You answered the above question incorrectly" %}
{% endif %} {% for answer in previous.answers %} {% if answer.correct %} {% else %} {% endif %} {% endfor %}
{{ answer }} {% trans "This is the correct answer" %}
{{ answer }} {% if previous.question_type.MCQuestion %} {% if answer.id|add:"0" == previous.previous_answer|add:"0" %} {% trans "This was your answer." %} {% endif %} {% endif %}
{% endif %}

{% trans "Explanation" %}:

{% if previous.previous_question.explanation %} {{ previous.previous_question.explanation }} {% else %} {% trans "No explanation set to this question." %} {% endif %}


{% endif %} {% if max_score %}
{% trans "Quiz result" %}

{% trans "Quiz title" %}: {{ quiz.title }}

{% trans "You answered" %} {{ score }} {% trans "questions correctly out of" %} {{ max_score }}, {% trans "giving you" %} {{ percent }}{% trans "% correct" %}

{{ percent }}%

{% if quiz.pass_mark %}

{{ sitting.result_message }}

{% endif %}
  • {% trans "Review the questions below and try the quiz again in the future"%}.
  • {% trans "The result of this quiz will be stored in your progress section" %} Here {% trans "so you can review and monitor your progression" %}.
{% endif %}
{% if possible %}

{% trans "Your session score is" %} {{ session }} {% trans "out of a possible" %} {{ possible }}


{% endif %} {% if questions %}

Overview

{% for question in questions %}

{{ forloop.counter }}, {{ question.content }}

{% trans "Explanation" %}:

{% if question.explanation %}

{{ question.explanation|safe }}

{% else %}

{% trans "No explanation set for this question." %}

{% endif %} {% correct_answer_for_all question %} {% if question.user_answer %}

{% trans "Your answer" %}: {{ question|answer_choice_to_string:question.user_answer }}

{% endif %}
{% endfor %}
{% endif %}
{% endblock %} {% block js %} {% endblock js %}