{% extends "course/course-base.html" %} {% load i18n %} {% block title %} {% trans "Analytics" %} - {{ relate_site_name }} {% endblock %} {% block content %}

{% trans "Analytics" %}: {{ flow_identifier}} - {{ group_id }}/{{ page_id }}

{{ body|safe }}

{% trans "Answer Distribution" %}

{% if restrict_to_first_attempt %} {% comment %} Translators: the following are the options when showing attempts of particiants in grade analytics. {% endcomment %} {% blocktrans trimmed %} Showing results for only the first attempt by each participant. {% endblocktrans %} {% trans "Show all attempts" %} {% else %} {% trans "Showing results for all attempts by each participant." %} {% trans "Show only the first attempt" %} {% endif %}

{% for astats in answer_stats_list %}
{{ astats.normalized_answer|safe }} {% blocktrans trimmed with astats_count=astats.count count counter=astats.count %} ({{ astats_count }} response) {% plural %} ({{ astats_count }} responses) {% endblocktrans %}
{{ astats.percentage|floatformat:1 }}%
{% endfor %}
{% endblock %}