pytask/templates/user/browse_notifications.html
branchbuildout
changeset 227 3c8f3b0e5b00
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pytask/templates/user/browse_notifications.html	Thu Jan 06 19:07:04 2011 +0530
@@ -0,0 +1,14 @@
+{% extends 'base.html' %}
+{% block content %}
+    {% if not notifications %}
+        You have no notifications.<sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
+    {% else %}
+    Notifications for you: <sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
+        {% for notification in notifications %}
+            <a href="/user/notifications/nid={{notification.id}}">
+            {% if not notification.is_read %} <b> {% endif %}
+            {{notification.sub}}
+            {% if not notification.is_read %} </b> {% endif %}</a><br />
+        {% endfor %}
+    {% endif %}
+{% endblock %}