pytask/templates/profile/browse_notifications.html
changeset 435 1217d808d70f
parent 417 b37e541bf950
--- a/pytask/templates/profile/browse_notifications.html	Mon Jan 17 02:52:42 2011 +0530
+++ b/pytask/templates/profile/browse_notifications.html	Mon Jan 17 02:53:11 2011 +0530
@@ -1,14 +1,27 @@
-{% extends 'base.html' %}
+{% extends "base.html" %}
+
 {% block content %}
-{% if not notifications %}
-You have no notifications.
-{% else %}
-Notifications: <br />
-{% for notification in notifications %}
-<a href="{% url view_notification notification.id %}">
-{% if not notification.is_read %} <b> {% endif %}
-{{notification.subject}}
-{% if not notification.is_read %} </b> {% endif %}</a><br />
-{% endfor %}
-{% endif %}
+  {% if not notifications %}
+    You have no notifications.
+  {% else %}
+
+    Notifications: <br />
+    {% for notification in notifications %}
+      <a href="{% url view_notification notification.id %}">
+
+        {% if not notification.is_read %}
+          <b>
+        {% endif %}
+  
+        {{ notification.subject }}
+  
+        {% if not notification.is_read %}
+          </b>
+        {% endif %}
+
+      </a>
+      <br />
+    {% endfor %}
+
+  {% endif %}
 {% endblock %}