{% load i18n %}

{% trans "Vetting" %} {% if application.flagged %} {% trans "Needs review" %} {% endif %}

{% blocktrans trimmed with yes=counts.yes no=counts.no pending=counts.pending %} {{ yes }} of {{ threshold }} vouches, {{ no }} negative, {{ pending }} waiting for an answer. {% endblocktrans %}

{% if application.motivation %}

{% trans "Motivation" %}

{{ application.motivation|linebreaksbr }}
{% endif %}
{% if vouches %}
{% for v in vouches %} {% endfor %}
{% trans "Method" %} {% trans "Reference" %} {% trans "Order" %} {% trans "State" %} {% trans "Comment" %} {% trans "Date" %}
{{ v.get_method_display }} {{ v.reference_email|default:"–" }} {% if v.voucher_order %} {{ v.voucher_order.code }}{% if v.voucher_order.event_id != order.event_id %} ({{ v.voucher_order.event.name }}){% endif %} {% else %} – {% endif %} {% if v.state == "yes" %} {{ v.get_state_display }} {% elif v.state == "no" %} {{ v.get_state_display }} {% elif v.state == "pending" %} {{ v.get_state_display }} {% else %} {{ v.get_state_display }} {% endif %} {{ v.comment|linebreaksbr }} {{ v.responded|default:v.created|date:"SHORT_DATETIME_FORMAT" }} {% if v.state == "pending" and can_write %}
{% csrf_token %}
{% endif %}
{% endif %}