{% 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 "The previous question" %}:
{{ previous.previous_question }}
Your answer was {{ previous.previous_outcome|yesno:"correct,incorrect" }}
{% load i18n %} {% if previous.answers %} {% if user_was_incorrect %}{{ 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 %}
{% trans "Quiz title" %}: {{ quiz.title }}
{% trans "You answered" %} {{ score }} {% trans "questions correctly out of" %} {{ max_score }}, {% trans "giving you" %} {{ percent }}{% trans "% correct" %}
⊙ {{ sitting.result_message }}
{% endif %}{% trans "Your session score is" %} {{ session }} {% trans "out of a possible" %} {{ possible }}
{{ 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 %}