{% extends 'votebase/base.html' %} {% load i18n question_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 'Graphs' %}{% endblock %} {% block subtitle_extra %}{% include 'surveys/helpers/tabs.html' with survey=survey %}{% endblock %} {% block content %}
{% if question.category %}
{{ question.category }}
{% endif %}
{% question_label question %}
{% trans 'Total answers' %}: {{ total_answers }}
{% for option in options %} {% if survey.round_set.count > 1 and not is_public_view %}
{% if option.title %}{{ option.title|safe }}{% else %}{% trans 'Empty' %}{% endif %}
{#
#}
{{ option.percent }}%
{% trans 'votes' %}: {{ option.count }}
{% else %}
{% if option.title %}{{ option.title|safe }}{% else %}{% trans 'Empty' %}{% endif %}
{#
#}
{{ option.percent }}%
{% trans 'votes' %}: {{ option.count }}
{% endif %} {% endfor %}
{% include 'votebase/helpers/pagination-listview.html' with page_obj=pagination.page is_paginated=pagination.is_paginated %} {% trans 'Export to .csv' %}
{% endblock %}