{% extends "orga/cfp/base.html" %} {% load bootstrap4 %} {% load compress %} {% load i18n %} {% load static %} {% load times %} {% block stylesheets %} {% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %} {% block cfp_content %}

{{ quotation_open }}{{ question.question }}{{ qutoation_close }} ({{ question.get_variant_display }})

{% if answer_count %}
{% bootstrap_form filter_form layout='inline' %}
{% endif %}

{% if question.active %} {% translate "This question is currently active, it will be asked during submission." %} {% translate "Hide question" %} {% else %} {% translate "This question is currently inactive, and will not be asked during submission." %} {% translate "Activate question" %} {% endif %}

{% if not answer_count %} {% translate "Nobody has answered this question at the moment." %} {% else %}

{% if missing_answers %} {% blocktranslate with count=answer_count|times missing=missing_answers trimmed %} This question has been answered {{ count }}, {{ missing }} answers are still missing. {% endblocktranslate %} {% else %} {% blocktranslate with count=question.answers.count|times trimmed %} This question has been answered {{ count }}, and no answers are missing. {% endblocktranslate %} {% endif %}

{% if question.variant != "file" and grouped_answers|length < 50 %}
{% endif %} {% for answer in grouped_answers %} {% endfor %}
{% translate "Answer" %} {% translate "Count" %} {% translate "%" %}
{% if answer.answer %}{{ answer.answer|truncatechars:140 }}{% else %}{{ answer.options__answer|truncatechars:140 }}{% endif %} {{ answer.count }} {% widthratio answer.count answer_count 100 %} %
{% endif %} {% endblock %}