~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/django_messages/trash.html

  • Committer: franku
  • Date: 2018-11-22 11:08:51 UTC
  • Revision ID: somal@arcor.de-20181122110851-77riof0o4dx2zcm6
split user uploaded content from static content

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
{% load i18n %} 
3
3
{% load custom_date %}
4
4
{% load wlprofile_extras %}
 
5
{% load static %}
5
6
 
6
7
{% block title %}
7
8
Trash - {{ block.super }}
27
28
                                <td>{{ message.recipient|user_link }}</td>
28
29
                                <td>
29
30
                                        {% if message.replied %}
30
 
                                                <img src="{{ MEDIA_URL }}img/replied.png" alt="replied" title="replied" />
 
31
                                                <img src="{% static 'img/replied.png' %}" alt="replied" title="replied" />
31
32
                                        {% endif %}
32
33
                                        <a href="{{message.get_absolute_url }}">{{ message.subject }}</a>
33
34
                                </td>
35
36
                                <td>
36
37
                                        {% if message.sender == request.user %}
37
38
                                        <a href="{% url 'messages_undelete' message.id %}?next=/messages/outbox/">
38
 
                                                <img src="{{ MEDIA_URL }}img/undelete.png" alt="undelete" title="undelete" />
 
39
                                                <img src="{% static 'img/undelete.png' %}" alt="undelete" title="undelete" />
39
40
                                        </a>
40
41
                                        {% else %}
41
42
                                        <a href="{% url 'messages_undelete' message.id %}?next=/messages/inbox/">
42
 
                                                <img src="{{ MEDIA_URL }}img/undelete.png" alt="undelete" title="undelete" />
 
43
                                                <img src="{% static 'img/undelete.png' %}" alt="undelete" title="undelete" />
43
44
                                        </a>
44
45
                                        {% endif %}
45
46
                                </td>