# HG changeset patch
# User nishanth
# Date 1267124344 -19800
# Node ID 3c3ea2a3f92a159bc8820399803b6e436ff4ad64
# Parent 091b044a3bf40f40ab0c55bc149e1f6fc725a399
now view request shows a better message if role is MT .
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 %}
diff -r 091b044a3bf4 -r 3c3ea2a3f92a templates/user/browse_requests.html
--- a/templates/user/browse_requests.html Fri Feb 26 00:17:54 2010 +0530
+++ b/templates/user/browse_requests.html Fri Feb 26 00:29:04 2010 +0530
@@ -1,11 +1,15 @@
{% extends 'base.html' %}
{% block content %}
- {% for req in reqs %}
-