You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
863 B
28 lines
863 B
{% extends "django_messages/base.html" %}
|
|
{% load i18n %}
|
|
{% load url from future %}
|
|
|
|
{% block content %}
|
|
<h1>{% trans "Sent Messages" %}</h1>
|
|
{% if message_list %}
|
|
<table class="messages">
|
|
<thead>
|
|
<tr><th>{% trans "Recipient" %}</th><th>{% trans "Subject" %}</th><th>{% trans "Sent" %}</th><th>{% trans "Action" %}</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for message in message_list %}
|
|
<tr>
|
|
<td>{{ message.recipient }}</td>
|
|
<td>
|
|
<a href="{{ message.get_absolute_url }}">{{ message.subject }}</a>
|
|
</td>
|
|
<td>{{ message.sent_at|date:_("DATETIME_FORMAT") }}</td>
|
|
<td><a href="{% url 'messages_delete' message.id %}?next={% url 'messages_outbox' %}">{% trans "delete" %}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p>{% trans "No messages." %}</p>
|
|
{% endif %}
|
|
{% endblock %} |