From 43b0dec7d77b9c9c59117b3b2db83aa6d56f2708 Mon Sep 17 00:00:00 2001
From: nishanth
Date: Fri, 26 Feb 2010 00:29:04 +0530
Subject: now view request shows a better message if role is MT .
---
templates/user/browse_notifications.html | 16 ++++++++++------
templates/user/browse_requests.html | 20 ++++++++++++--------
templates/user/view_request.html | 12 ++++++++----
3 files changed, 30 insertions(+), 18 deletions(-)
diff --git a/templates/user/browse_notifications.html b/templates/user/browse_notifications.html
index c4b538e..a6a6ff2 100644
--- a/templates/user/browse_notifications.html
+++ b/templates/user/browse_notifications.html
@@ -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 --git a/templates/user/browse_requests.html b/templates/user/browse_requests.html
index 35432e0..6f136aa 100644
--- a/templates/user/browse_requests.html
+++ b/templates/user/browse_requests.html
@@ -1,11 +1,15 @@
{% extends 'base.html' %}
{% block content %}
- {% for req in reqs %}
-