{% extends 'votebase/base.html' %} {% load i18n staticfiles utils_extras %} {% block title %}{{ survey.title }}{% endblock %} {% block content_title %} {% trans 'Back' %}{{ survey.title }} {% endblock %} {% block content_title_extra %}{% include 'surveys/helpers/advanced.html' with active='statistics' %}{% endblock %} {% block subtitle %}{% trans 'Survey infographics' %}{% endblock %} {% block subtitle_extra %}{% include 'surveys/helpers/tabs.html' with survey=survey %}{% endblock %} {% block js %} {% if object_list %} {# #} {% include 'statistics/helpers/infographics_js.html' %} {% endif %} {% endblock %} {% block content %}
{% if survey.round_set.all.count > 1 %}
{% include 'surveys/helpers/rounds.html' with rounds=survey.round_set.all round=round url='statistics_infographics_round' total_url='statistics_infographics' reversed=1 %}
{% if object_list %}
{% trans 'Loading, please wait.' %}
{% endif %} {% else %}
{% if object_list %}
{% trans 'Loading, please wait.' %}
{% endif %} {% endif %} {% if not object_list %} {% trans 'No voters found. Share your survey.' %} {% else %}
{% if survey.voter_set.count > request.user.get_profile.get_voters_limit %}
{% blocktrans with survey.voter_set.count as voters_count and request.user.get_profile.get_voters_limit as package_voters_limit and request.user.get_profile.get_package_display as package %} You have {{ voters_count }} voters in this survey, but your voter limit per survey is {{ package_voters_limit }} ({{ package }} package). {% endblocktrans %} {% trans 'View pricing'%}
{% endif %}
{% trans 'Total voters' %}: {{ object_list|length }}
{# voters #}
{% trans 'Count' %}
{# total voters #}
{% trans 'Total count' %}
{# voting duration #}
{% trans 'Voting duration' %} ({% trans 'in minutes' %})
{# gender #}
{% trans 'Gender' %}
{# age #}
{% trans 'Age' %}
{% if survey.is_quiz %} {# quiz result #}
{% trans 'Quiz result' %}
{# quiz result by age #}
{% trans 'Average quiz result by age' %}
{% endif %}
{% endif %}
{% endblock %}