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 %} -
- {% if not req.is_read %}{% endif %}{{req.sent_by.username}}|{{req.role}}| - {% ifequal req.role "PY" %} - {{req.task.title}} - {% endifequal %} - {% if not req.is_read %}{% endif %}
- {% endfor %} + {% if not reqs %} + You have no unreplied requests. + {% else %} + {% for req in reqs %} +
+ {% if not req.is_read %}{% endif %}{{req.sent_by.username}}|{{req.role}}| + {% ifequal req.role "PY" %} + {{req.task.title}} + {% endifequal %} + {% if not req.is_read %}{% endif %}
+ {% endfor %} + {% endif %} {% endblock %}