summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-07 12:35:44 +0530
committerNishanth Amuluru2011-01-07 12:35:44 +0530
commit31cf5065a18a84984d996bb7377f21dd19b7754e (patch)
treed424bfec2fd875104b89b3947390329c9061d4a3
parentba598cf99d39a132fab441db176484876be0ecc5 (diff)
downloadpytask-31cf5065a18a84984d996bb7377f21dd19b7754e.tar.gz
pytask-31cf5065a18a84984d996bb7377f21dd19b7754e.tar.bz2
pytask-31cf5065a18a84984d996bb7377f21dd19b7754e.zip
Created template for view notification
-rw-r--r--templates/profile/view_notification.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/profile/view_notification.html b/templates/profile/view_notification.html
new file mode 100644
index 0000000..8b50a3e
--- /dev/null
+++ b/templates/profile/view_notification.html
@@ -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 %}