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

{{ page_obj.paginator.count }} {% translate "Sent Mails" %}

{% include "common/includes/search_form.html" %}
{% for mail in mails %} {% endfor %}
{{ phrases.base.email_subject }} {% translate "To" %} {% translate "Sent" %}
{{ 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 %} {% for submission in mail.submissions.all %}
{% if show_tracks and submission.track %}
{% endif %} {{ submission.title }}
{% endfor %}
{% if mail.attachments %} {% endif %} {% include "orga/includes/mail_template_role.html" with template=mail.template %} {{ mail.sent }}
{% include "orga/includes/pagination.html" %} {% endblock mail_content %}