templates/profile/view_notification.html
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 13:00:58 +0530
changeset 285 cbb336da00bd
parent 277 2af4b1b731e8
permissions -rw-r--r--
fixed a typo
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 %}
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 />
285
cbb336da00bd fixed a typo
Nishanth Amuluru <nishanth@fossee.in>
parents: 277
diff changeset
    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 />
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 %}