{% extends 'votebase/base.html' %} {% load i18n graph_extras staticfiles %} {% block title %}{{ survey.title }}{% endblock %} {% block content_title %}{{ survey.title }}{% endblock %} {% block content_title_extra %}{% endblock %} {% block subtitle %}{% if round %}{{ round }}{% endif %}{% endblock %} {% block subtitle_extra %}{% endblock %} {% block body_class %}graphs-hash{% endblock %} {% block js %} {% if object_list %} {% endif %} {% endblock %} {% block content %}
{% if not object_list %} {% trans 'There is no question in this survey. Create some.' %} {% else %} {% if statistics_categories %}

{% trans 'Average result of categories' %}

{% for cstats in statistics_categories %}
{{ cstats.category }} {{ cstats.percent|floatformat:"2" }}% {% trans 'Count of questions' %}: {{ cstats.count_questions }}
{% endfor %}
{% endif %}
{% if statistics_categories %}

{% trans 'Questions' %}

{% endif %}
{% trans 'Loading, please wait.' %}
{% for question in object_list %} {% endfor %}
{{ forloop.counter}}. {% if survey.round_set.all.count == 1 or not round %} {% autoescape off %}{{ question.title|striptags|truncatechars:190 }}{% endautoescape %} {% if question.is_required %}*{% endif %} {% else %} {% autoescape off %}{{ question.title|striptags|truncatechars:190 }}{% endautoescape %} {% if question.is_required %}*{% endif %} {% endif %} {% if survey.round_set.all.count == 1 or not round %} {{ survey }} {% else %} {{ round }} {% endif %}
{% endif %}
{% endblock %}