templates/user/view_notification.html
changeset 133 34187a80d279
parent 129 e747da8bc110
child 134 3a49a7e23442
--- a/templates/user/view_notification.html	Sat Feb 27 19:21:15 2010 +0530
+++ b/templates/user/view_notification.html	Sun Feb 28 01:15:15 2010 +0530
@@ -1,10 +1,24 @@
 {% extends 'base.html' %}
 {% block content %}
+    {% if newest %}
+        <a href="/user/notifications/nid={{newest.id}}">&lt;&lt;newest</a>
+    {% endif %}
+    {% if newer %}
+        <a href="/user/notifications/nid={{newer.id}}">&lt;newer</a>
+    {% endif %}
+    {% if older %}
+        <a href="/user/notifications/nid={{older.id}}">older&gt;</a>
+    {% endif %}
+    {% if oldest %}
+        <a href="/user/notifications/nid={{oldest.id}}">oldest&gt;&gt;</a>
+    {% endif %}
+    <br />
+        
+    <form action="delete/" method="post"> <input type="submit" value="Delete"> </form>
+    <form action="unread/" method="post"> <input type="submit" value="Keep Unread"> </form>
+    <br />
     sent at {{notification.sent_date}}<br />
     Sub: {{notification.sub}}<br />
-    
     <br />
         {{notification.message|safe}}
-    <form action="delete/" method="post"> <input type="submit" value="Delete"> </form>
-    <form action="unread/" method="post"> <input type="submit" value="Keep Unread"> </form>
 {% endblock %}