diff -r 091b044a3bf4 -r 3c3ea2a3f92a templates/user/browse_notifications.html --- a/templates/user/browse_notifications.html Fri Feb 26 00:17:54 2010 +0530 +++ b/templates/user/browse_notifications.html Fri Feb 26 00:29:04 2010 +0530 @@ -1,9 +1,13 @@ {% extends 'base.html' %} {% block content %} - {% for notification in notifications %} - - {% if not notification.is_read %} {% endif %} - {{notification.sub}} - {% if not notification.is_read %} {% endif %}
- {% endfor %} + {% if not notifications %} + You have no notifications. + {% else %} + {% for notification in notifications %} + + {% if not notification.is_read %} {% endif %} + {{notification.sub}} + {% if not notification.is_read %} {% endif %}
+ {% endfor %} + {% endif %} {% endblock %}