author | Madhusudan.C.S <madhusudancs@gmail.com> |
Tue, 01 Feb 2011 15:09:44 +0530 | |
changeset 548 | 53b0071346c4 |
parent 417 | b37e541bf950 |
permissions | -rw-r--r-- |
277
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
1 |
{% extends 'base.html' %} |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
2 |
{% block content %} |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
3 |
{% if newest %} |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
307
diff
changeset
|
4 |
<a href="{% url view_notification newest.id %}"><<newest</a> |
277
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
5 |
{% endif %} |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
6 |
{% if newer %} |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
307
diff
changeset
|
7 |
<a href="{% url view_notification newer.id %}"><newer</a> |
277
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
8 |
{% endif %} |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
9 |
{% if older %} |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
307
diff
changeset
|
10 |
<a href="{% url view_notification older.id %}">older></a> |
277
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
11 |
{% endif %} |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
12 |
{% if oldest %} |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
307
diff
changeset
|
13 |
<a href="{% url view_notification oldest.id %}">oldest>></a> |
277
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
14 |
{% endif %} |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
15 |
<br /> |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
16 |
|
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
17 |
<br /> |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
307
diff
changeset
|
18 |
Sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br /> |
285 | 19 |
Sub: {{notification.subject}}<br /> |
277
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
20 |
<br /> |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
21 |
{{notification.message|safe}} |
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
22 |
<br /> |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
307
diff
changeset
|
23 |
<a href="{% url delete_notification notification.id %}">Delete</a> |
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
307
diff
changeset
|
24 |
<a href="{% url unread_notification notification.id %}">Keep Unread</a> |
277
2af4b1b731e8
Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
25 |
{% endblock %} |