{% extends "course/course-base.html" %} {% load i18n %} {% load crispy_forms_tags %} {% load static %} {% block title %} [{{ page_data.next_ordinal }}/{{ flow_session.page_count }}] {{title}} - {{ flow_desc.title}} - {{ relate_site_name }} {% endblock %} {% block content %} {% if user != flow_session.participation.user %}
{% trans "Viewing session for participant" %} {% if flow_session.participation != None %} {% if not pperm.view_participant_masked_profile %}{{ flow_session.participation.user.username }}{% else %}{{ flow_session.participation.user.get_masked_profile }}{% endif %}. {% else %} {% trans "(unspecified participant)" %}. {% endif %}
{% endif %} {# {{{ navigation #} {# }}} #} {# {{{ points #} {% if max_points %}
{% blocktrans trimmed count counter=max_points %} {{ max_points }} point {% plural %} {{ max_points }} points {% endblocktrans %}
{% elif is_optional_page %}
{% trans "Optional question" %}
{% endif %} {# }}} #} {{ body|safe }} {# {{{ form #} {% if form_html %}
{{ form_html|safe }} {% if may_change_graded_answer and will_receive_feedback %} {% if form.no_offset_labels %}
{% else %}
{% endif %} {% trans "(You may still change your answer after you submit it.)" %}
{% endif %}
{% endif %} {# }}} #} {# {{{ feedback #} {% if show_correctness and feedback %}

{{ feedback.feedback|safe }}

{% if feedback.bulk_feedback %}

{{ feedback.bulk_feedback|safe }}

{% endif %} {% if show_answer and correct_answer %}

{{ correct_answer|safe }}

{% endif %}
{% elif show_answer and correct_answer %} {# show only correct answer, without indication of correctness #}

{{ correct_answer|safe }}

{% endif %} {# }}} #} {# {{{ change listening, navigation confirmation #} {# }}} #} {# {{{ expiration mode handling #} {# }}} #} {# {{{ bookmark button #} {# }}} #} {# {{{ codemirror resizing, save #} {# }}} #} {% endblock %} {% block page_bottom_javascript_extra %} {% if expects_answer %} {# https://github.com/blueimp/JavaScript-Templates #} {% endif %} {{ block.super }} {% endblock %} {# vim: set foldmethod=marker: #}