{% extends 'votebase/base.html' %} {% load i18n voter_extras 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 'Voters' %}{% endblock %} {% block subtitle_extra %}{% include 'surveys/helpers/tabs.html' with survey=survey %}{% 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_voters_round' reversed=1 %}
{% endif %}
{% if object_list %} {% 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 %} {% for voter in object_list %} {% if survey_is_quiz %} {% endif %} {# #} {% endfor %}
{{ pagination.page.number|subtract:"1"|multiply:"-1"|multiply:pagination.page.paginator.per_page|add:pagination.total_count|subtract:forloop.counter|add:"1"|stringformat:"d" }}. {% if voter.user %} {{ voter.user.get_profile.get_full_name|truncatechars:190 }} {% else %} {% trans 'Anonymous' %} {% endif %} {% if voter.flag %}
{{ voter.flag }}{% endif %}
{{ voter.quiz_result }}%{{ voter.created }}{{ voter.get_nice_voting_duration }}{{ voter.voting_duration|niceseconds }} {% trans 'Edit' %} {% trans 'Show answers' %} {% trans 'Delete' %}
{% include 'votebase/helpers/pagination-listview.html' with page_obj=pagination.page is_paginated=pagination.is_paginated %} {% else %} {% trans 'No voters found. Share your survey.' %} {% endif %}
{% endblock %}