equal
deleted
inserted
replaced
1 {% extends 'base.html' %} |
1 {% extends 'base.html' %} |
2 {% block content %} |
2 {% block content %} |
3 {% if newest %} |
3 {% if newest %} |
4 <a href="/profile/notf/view/nid={{newest.uniq_key}}"><<newest</a> |
4 <a href="{% url view_notification newest.id %}"><<newest</a> |
5 {% endif %} |
5 {% endif %} |
6 {% if newer %} |
6 {% if newer %} |
7 <a href="/profile/notf/view/nid={{newer.uniq_key}}"><newer</a> |
7 <a href="{% url view_notification newer.id %}"><newer</a> |
8 {% endif %} |
8 {% endif %} |
9 {% if older %} |
9 {% if older %} |
10 <a href="/profile/notf/view/nid={{older.uniq_key}}">older></a> |
10 <a href="{% url view_notification older.id %}">older></a> |
11 {% endif %} |
11 {% endif %} |
12 {% if oldest %} |
12 {% if oldest %} |
13 <a href="/profile/notf/view/nid={{oldest.uniq_key}}">oldest>></a> |
13 <a href="{% url view_notification oldest.id %}">oldest>></a> |
14 {% endif %} |
14 {% endif %} |
15 <br /> |
15 <br /> |
16 |
16 |
17 <br /> |
17 <br /> |
18 sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br /> |
18 Sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br /> |
19 Sub: {{notification.subject}}<br /> |
19 Sub: {{notification.subject}}<br /> |
20 <br /> |
20 <br /> |
21 {{notification.message|safe}} |
21 {{notification.message|safe}} |
22 <br /> |
22 <br /> |
23 <a href="/profile/notf/del/nid={{notification.uniq_key}}">Delete</a> |
23 <a href="{% url delete_notification notification.id %}">Delete</a> |
24 <a href="/profile/notf/unr/nid={{notification.uniq_key}}">Keep Unread</a> |
24 <a href="{% url unread_notification notification.id %}">Keep Unread</a> |
25 {% endblock %} |
25 {% endblock %} |