{% extends "orga/mails/base.html" %} {% load i18n %} {% block mail_content %}

{{ page_obj.paginator.count }} {% blocktranslate trimmed count count=page_obj.paginator.count %} pending mail {% plural %} pending mails {% endblocktranslate %}

{% include "common/includes/search_form.html" with omit_wrapper=True %} {% if is_paginated and page_obj.paginator.num_pages > 1 %} {% endif %}
{% for mail in mails %} {% endfor %}
{{ phrases.base.email_subject }} {% translate "To" %}
{{ mail.subject }} {% for user in mail.to_users.all %} {% if user in request.event.submitters %} {{ user }} {% else %}{{ user }}{% endif %}{% if not forloop.last or mail.to %}, {% endif %} {% endfor %} {% if mail.to %}{{ mail.to }}{% endif %} {% if mail.attachments %} {% endif %} {% if mail.template %} {% if mail.template == request.event.accept_template %} {% translate "Accept email" %} {% elif mail.template == request.event.reject_template %} {% translate "Reject email" %} {% elif mail.template == request.event.update_template %} {% translate "Schedule update" %} {% elif mail.template == request.event.question_template %} {% translate "Unanswered questions reminder" %} {% endif %} {% endif %}
{% include "orga/includes/pagination.html" %} {% endblock mail_content %}