{% extends "base-apply.html" %} {% load i18n nh3_tags heroicons %} {% block title %}{% trans "Determination for" %} {{ determination.submission.title }}{% endblock %} {% block content %} {% adminbar %} {% slot back_link %} {% trans "View submission" %} {% endslot %} {% slot header %} {% trans "Determination" %} {% if determination.is_draft %}[{% trans "DRAFT" %}] {% endif %}{% endslot %} {% slot sub_heading %}{% trans "For" %} {{ determination.submission.title }}{% endslot %} {% endadminbar %}
{% trans "Determination" %}: {{ determination.get_outcome_display }}
{% if request.user.is_apply_staff %} {% trans "Edit" %}{% heroicon_mini "pencil-square" size=18 class="inline ms-1 align-text-bottom" aria_hidden=true %} {% endif %}

{% trans "Determination message" %}

{{ determination.message|nh3 }} {% for group in determination.detailed_data.values %} {% if group.title %}

{{ group.title|nh3 }}

{% endif %} {% for question, answer in group.questions %}
{{ question }}
{% if answer %}{% if answer == True %}{{ answer|yesno:"Agree,Disagree" }}{% else %}{{ answer|nh3 }}{% endif %}{% else %}-{% endif %} {% endfor %} {% endfor %}
{% endblock %}