Created template for view notification
authorNishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 12:35:44 +0530
changeset 39 2af4b1b731e8
parent 38 c8c47fcb46f0
child 40 60f363b6e9d8
Created template for view notification
templates/profile/view_notification.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/profile/view_notification.html	Fri Jan 07 12:35:44 2011 +0530
@@ -0,0 +1,25 @@
+{% extends 'base.html' %}
+{% block content %}
+{% if newest %}
+<a href="/profile/notf/view/nid={{newest.uniq_key}}">&lt;&lt;newest</a>
+{% endif %}
+{% if newer %}
+<a href="/profile/notf/view/nid={{newer.uniq_key}}">&lt;newer</a>
+{% endif %}
+{% if older %}
+<a href="/profile/notf/view/nid={{older.uniq_key}}">older&gt;</a>
+{% endif %}
+{% if oldest %}
+<a href="/profile/notf/view/nid={{oldest.uniq_key}}">oldest&gt;&gt;</a>
+{% endif %}
+<br />
+
+<br />
+sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br />
+Sub: {{notification.sub}}<br />
+<br />
+{{notification.message|safe}}
+<br />
+<a href="/profile/notf/del/nid={{notification.uniq_key}}">Delete</a>
+<a href="/profile/notf/unr/nid={{notification.uniq_key}}">Keep Unread</a>
+{% endblock %}