~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/django_messages/outbox.html

  • Committer: Holger Rapp
  • Date: 2009-02-21 18:24:02 UTC
  • Revision ID: sirver@kallisto.local-20090221182402-k3tuf5c4gjwslbjf
Main Page contains now the same informations as before

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "django_messages/base.html" %} 
2
 
{% load i18n %} 
3
 
{% load custom_date %}
4
 
{% load wlprofile_extras %}
5
 
{% load static %}
6
 
 
7
 
{% block title %}
8
 
Outbox - {{ block.super }}
9
 
{% endblock %}
10
 
 
11
 
{% block msg_title %}Outbox{% endblock %}
12
 
{% block msg_content %} 
13
 
        <table class="messages">
14
 
                <thead>
15
 
                        <tr>
16
 
                                <th>{% trans "Recipient" %}</th>
17
 
                                <th>{% trans "Subject" %}</th>
18
 
                                <th>{% trans "Received" %}</th>
19
 
                                <th>{% trans "Action" %}</th>
20
 
                        </tr>
21
 
                </thead>
22
 
                <tbody>
23
 
                {% for message in message_list %} 
24
 
                        <tr {% if message.new %}class="italic" title="The recipient hasn&apos;t read your message yet"{% endif %}>
25
 
                                <td>{{ message.recipient|user_link }}</td>
26
 
                                <td>
27
 
                                        <a href="{{message.get_absolute_url }}">{{ message.subject }}</a>
28
 
                                </td>
29
 
                                <td>{{ message.sent_at|custom_date:user }}</td>
30
 
                                <td>
31
 
                                        <a href="{% url 'messages_delete' message.id %}?next={{ request.path|iriencode }}">
32
 
                                                <img src="{% static 'img/delete.png' %}" alt="delete" title="delete" />
33
 
                                        </a>
34
 
                                </td>
35
 
                        </tr>
36
 
                {% endfor %}
37
 
                </tbody>
38
 
        </table>
39
 
{% endblock %}