{% extends "postman/base.html" %} {% load i18n postman_tags %}{% load pagination_tags %}{% comment %} WARNING: 'pagination_tags' is a name from the dj-pagination application. For convenience, the design of this template is done with the use of that application. Django-postman will still be working, even if that application is not installed, by providing a mock for the template tag library. If the real implementation is to be used, just make sure that 'dj_pagination' is declared before 'postman' in the INSTALLED_APPS setting. {% endcomment %} {% block content %}

{% block pm_folder_title %}{% endblock %}

{% autopaginate pm_messages %} {% if invalid_page %}

{% trans "Sorry, this page number is invalid." %}

{% else %} {% if pm_messages %} {% block pm_by_modes %}
{% if by_message %}{% endif %}{% trans "by conversation" %}{% if by_message %}{% endif %} {% if by_conversation %}{% endif %}{% trans "by message" %}{% if by_conversation %}{% endif %}
{% endblock pm_by_modes %}
{% csrf_token %} {% block pm_form_buttons %} {% block pm_delete_button %}{% endblock %} {% block pm_archive_button %}{% endblock %} {% block pm_undelete_button %}{% endblock %} {% block pm_read_button %}{% endblock %} {% block pm_unread_button %}{% endblock %} {% endblock %} {% block pm_sender_header %} {% endblock %} {% block pm_recipient_header %} {% endblock %} {% for message in pm_messages %} {% block pm_sender_cell %} {% endblock %} {% block pm_recipient_cell %} {% endblock %} {% endfor %}
{% trans "Action" %}{% trans "Sender" %}{% trans "Recipient" %}{% trans "Subject" %} {% block pm_date %}{% trans "Date" %}{% endblock %}
{{ message.obfuscated_sender|or_me:user }}{% if message.count %} ({{ message.count }}){% endif %}{{ message.obfuscated_recipient|or_me:user }}{% if message.count %} ({{ message.count }}){% endif %}{% if message.is_new %}{% endif %}{% if message.is_replied %}{% endif %} {% block pm_subject %} {% include "postman/inc_subject_ex.html" %} {% endblock %} {% if message.is_replied %}{% endif %}{% if message.is_new %}{% endif %} {{ message.sent_at|compact_date:_("g:i A,M j,n/j/y") }}
{% paginate %} {% else %}

{% trans "No messages." %}

{% endif %} {% endif %} {% block pm_footer_info %}{% endblock %}
{% endblock content %}