{% INCLUDECSS '@battye_cmxquiz/cmx_quiz.css' %} {% include 'overall_header.html' %}

{{ lang('CMX_QUIZ_RESULTS') }} - {{ CMX_QUIZ_NAME }}

{% if CMX_QUIZ_MODERATOR %}
{# Edit quiz button #} {{ lang('CMX_QUIZ_EDIT_QUIZ') }}
{% endif %} {% if CMX_QUIZ_RESULTS|length == 0 %}
{{ lang('CMX_QUIZ_NO_RESULTS') }}
{% endif %} {% for result in CMX_QUIZ_RESULTS %}

{{ result.played_by }} {% if CMX_QUIZ_MINIMUM_PASS_MARK %}{% if result.score_percentage >= CMX_QUIZ_MINIMUM_PASS_MARK %}{{ lang('CMX_QUIZ_RESULTS_PASSED') }}{% else %}{{ lang('CMX_QUIZ_RESULTS_FAILED') }}{% endif %}{% endif %} ({{ result.score_percentage }}%, {{ lang('CMX_QUIZ_RESULTS_TIME_TAKEN', result.time_taken) }}) - {{ result.play_time }}

{{ lang('CMX_QUIZ_RESULTS_QUESTION') }}
{{ lang('CMX_QUIZ_RESULTS_USER') }}
{% if CMX_QUIZ_SHOW_CORRECT_ANSWERS %}
{{ lang('CMX_QUIZ_RESULTS_CORRECT') }}
{% endif %}
{% for question in result.display_questions.questions %}
{{ question.question }}
{{ question.submission.answer }}
{% if CMX_QUIZ_SHOW_CORRECT_ANSWERS %}
{% for answer in question.answers %}
{{ answer }}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %} {% INCLUDEJS '@battye_cmxquiz/cmx_quiz.js' %} {% include 'overall_footer.html' %}