~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to templates/messages/inlines/message_row.html

  • Committer: Holger Rapp
  • Date: 2009-03-15 20:19:52 UTC
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: sirver@kallisto.local-20090315201952-eaug9ff2ec8qx1au
Fixed a bug with broken notification support

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
   vim:ft=htmldjango
3
3
{% endcomment %}
4
4
{% load i18n %}  
5
 
{% load custom_date %}
6
5
 
7
6
   <tr class="message {% cycle "odd" "even" %}">
8
 
       {% ifequal message.sender user %}
9
 
      <td>{{ message.recipient }}</td>
10
 
       {%else %}
11
7
      <td>{{ message.sender }}</td>
12
 
       {%endifequal %}
13
8
      <td>
14
9
          {% if message.new %}<u>{% endif %}
15
10
          {% if message.replied %}<em>{% endif %}
17
12
          {% if message.replied %}</em>{% endif %}
18
13
          {% if message.new %}</u>{% endif %}
19
14
      </td>
20
 
      <td>{{ message.sent_at|custom_date:user }}</td>
21
 
      <td><a href="{% url django_messages.views.delete message.id %}">{% trans "delete" %}</a></td>
 
15
      <td>{{ message.sent_at|date:_("DATETIME_FORMAT") }}</td>
 
16
      <td><a href="{% url messages.views.delete message.id %}">{% trans "delete" %}</a></td>
22
17
   </tr>