~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/django_messages/inbox.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
 
 
6
 
{% block title %}
7
 
Inbox - {{ block.super }}
8
 
{% endblock %}
9
 
 
10
 
 
11
 
{% block msg_title %}Inbox{% endblock %}
12
 
{% block msg_content %}
13
 
        <table class="messages">
14
 
                <thead>
15
 
                        <tr>
16
 
                                <th>{% trans "Sender" %}</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 class="{% if message.new %}italic{% endif %}">
25
 
                                <td>{{ message.sender|user_link }}</td>
26
 
                                <td>
27
 
                                        {% if message.replied %}
28
 
                                                <img src="{% static 'img/replied.png' %}" alt="replied" title="replied" />
29
 
                                        {% endif %}
30
 
                                        <a href="{{message.get_absolute_url }}">{{ message.subject }}</a>
31
 
                                </td>
32
 
                                <td>{{ message.sent_at|custom_date:user }}</td>
33
 
                                <td>
34
 
                                        <a href="{% url 'messages_delete' message.id %}?next={{ request.path|iriencode }}">
35
 
                                                <img src="{% static 'img/delete.png' %}" alt="delete" title="delete" />
36
 
                                        </a>
37
 
                                </td>
38
 
                        </tr>
39
 
                {% endfor %}
40
 
                </tbody>
41
 
        </table>
42
 
{% endblock %}