templates/profile/view_notification.html
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 13:18:48 +0530
changeset 51 4607a50e7f00
parent 47 cbb336da00bd
permissions -rw-r--r--
removed unwanted prints
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
39
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 %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
<a href="/profile/notf/view/nid={{newest.uniq_key}}">&lt;&lt;newest</a>
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 %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
<a href="/profile/notf/view/nid={{newer.uniq_key}}">&lt;newer</a>
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 %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    10
<a href="/profile/notf/view/nid={{older.uniq_key}}">older&gt;</a>
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 %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
<a href="/profile/notf/view/nid={{oldest.uniq_key}}">oldest&gt;&gt;</a>
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 />
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    18
sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br />
47
cbb336da00bd fixed a typo
Nishanth Amuluru <nishanth@fossee.in>
parents: 39
diff changeset
    19
Sub: {{notification.subject}}<br />
39
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 />
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    23
<a href="/profile/notf/del/nid={{notification.uniq_key}}">Delete</a>
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    24
<a href="/profile/notf/unr/nid={{notification.uniq_key}}">Keep Unread</a>
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    25
{% endblock %}