{% 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 question.active %}
{% trans "This question is currently active, it will be asked during submission." %} {% trans "Hide question" %}
{% else %}
{% trans "This question is currently inactive, and will not be asked during submission." %} {% trans "Activate question" %}
{% endif %}
{% bootstrap_form filter_form layout='inline' %}
{% if not answer_count %} {% trans "Nobody has answered this question at the moment." %} {% else %} {% if missing_answers %} {% blocktrans with count=question.answers.count|times missing=missing_answers trimmed %} This question has been answered {{ count }}, {{ missing }} answers are still missing. {% endblocktrans %} {% else %} {% blocktrans with count=question.answers.count|times trimmed %} This question has been answered {{ count }}, and no answers are missing. {% endblocktrans %} {% endif %}
{% if question.variant != "file" and question.grouped_answers|length < 50 %}
{% trans "Answers" %}
{% endif %} {% for answer in question.grouped_answers %} {% endfor %}
{% trans "Answer" %} {% trans "Amount" %}
{% if question.variant == "file" %} {% if answer.answer.answer_file %} {{ answer.answer.answer }} {% else %} {{ answer.answer.answer }} ({% trans "lost file" %}) {% endif %} {% else %} {% if answer.answer %} {% if question.variant == 'boolean' %} {% if answer.answer == "True" %} {{ quotation_open }}{% trans "Yes" %}{{ quotation_close }} {% else %} {{ quotation_open }}{% trans "No" %}{{ quotation_close }} {% endif %} {% else %} {{ quotation_open }}{{ answer.answer }}{{ quotation_close }} {% endif %} {% elif answer.options %} {{ quotation_open }}{{ answer.options__answer }}{{ quotation_close }} {% else %} {% trans "Empty answer" %} {% endif %} {% endif %} {{ answer.count|times }}
{% endif %} {% endblock %}