{% extends 'base.html' %} {% load help_tags %} {% block content %}

{{ collection.name }} {% if collection.in_review_mode or cid_user_exam.completed %} Review {% endif %} {% if collection.case_query_messaging_enabled and total_outstanding_feedback %} {{ total_outstanding_feedback }} outstanding feedback {% endif %}

{% if cid is not None %} CID: {{ cid }} {% else %}
Overview
{% endif %}
Progress
{% if not collection.review_only %}
{{ answer_count }} / {{ collection_length }} answered
{% else %}
Review-only collection
{% endif %}
Started: {{ cid_user_exam.start_time }}
{% if cid_user_exam.completed %}
End time: {{ cid_user_exam.end_time|default:"-" }}
{% endif %} {% if collection.case_query_messaging_enabled and collection.in_review_mode or collection.case_query_messaging_enabled and cid_user_exam.completed %} {% endif %}
{% if post_survey_url %} {% endif %}
{% for question, answer, self_review, review_stats, timing_state in question_answer_tuples %}
Case {{ forloop.counter }}{% if collection.show_title_post and answer and answer.completed or collection.show_title_post and cid_user_exam.completed %}: {{ question.case.title|default:question.case.pk|truncatechars:70 }}{% endif %} {% if answer and answer.completed or cid_user_exam.completed %} Completed {% elif answer %} Saved {% else %} Not answered {% endif %} {% if self_review %} Self review added {% endif %} {% if timing_state.effective_time_limit is not None and timing_state.case_view_locked %} Time expired {% endif %} {% if collection.case_query_messaging_enabled %} {% if review_stats.has_outstanding_feedback %} {{ review_stats.outstanding_feedback_count }} feedback item{{ review_stats.outstanding_feedback_count|pluralize }} to review {% elif review_stats.has_messages %} {{ review_stats.message_count }} conversation message{{ review_stats.message_count|pluralize }} {% endif %} {% endif %}
{% if collection.show_title_post and answer and answer.completed or collection.show_title_post and cid_user_exam.completed %}
{{ question.case }}
{% endif %}
{% if request.user.is_staff or request.user.is_superuser or request.user in collection.author.all %} {% if answer %} {% if answer.user %} History {% else %} History {% endif %} {% endif %} {% endif %} Open Case {% if collection.in_review_mode or cid_user_exam.completed %} {% if self_review %}Add New Self Review{% else %}Add Self Review{% endif %} {% if collection.case_query_messaging_enabled and review_stats.has_messages %} View Conversation {% endif %} {% endif %}
{% if self_review %}
Your self reviews
{% endif %} {% if not collection.review_only %} {% if answer %}
Preview saved answer/report
{% if answer.answer %} {{ answer.answer|linebreaksbr }} {% else %} {{ answer.json_answer }} {% endif %}
{% endif %} {% endif %}
{% endfor %}
{% if not collection.review_only and not cid_user_exam.completed %}
Ready to submit this session?
You can continue to review and edit your answers until you finish the session.
{% endif %} {% if collection.end_overview_content %}
{{ collection.end_overview_content|safe }}
{% endif %} {% if end_overview_resources %}
Further Resources
{% for resource in end_overview_resources %}
{{ resource.get_display }}
{% endfor %}
{% endif %} {# Sharing panel – only for registered-user attempts (not CID candidates) #} {% if collection.show_results_sharing_information and cid_user_exam.user_user_id %}
Loading sharing settings…
{% endif %} {% endblock %} {% block js %} {% endblock %}