summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornishanth2010-02-25 19:46:19 +0530
committernishanth2010-02-25 19:46:19 +0530
commit2fdc3b3fa991a219122d404be058f0102b48ccac (patch)
tree9c5077b4fd13a4aaca34f27d7be59b91fb091234
parenta3b252cc9dff4c51d784da17c3077d1e09b4134c (diff)
downloadpytask-2fdc3b3fa991a219122d404be058f0102b48ccac.tar.gz
pytask-2fdc3b3fa991a219122d404be058f0102b48ccac.tar.bz2
pytask-2fdc3b3fa991a219122d404be058f0102b48ccac.zip
now unread requests appear in bold.
-rw-r--r--templates/user/browse_requests.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/user/browse_requests.html b/templates/user/browse_requests.html
index 1c561a3..35432e0 100644
--- a/templates/user/browse_requests.html
+++ b/templates/user/browse_requests.html
@@ -1,9 +1,11 @@
{% extends 'base.html' %}
{% block content %}
{% for req in reqs %}
- <form><a href="/user/requests/rid={{req.pos}}">{{req.sent_by.username}}|{{req.role}}|
+ <form><a href="/user/requests/rid={{req.pos}}">
+ {% if not req.is_read %}<b>{% endif %}{{req.sent_by.username}}|{{req.role}}|
{% ifequal req.role "PY" %}
{{req.task.title}}
- {% endifequal %}</a><br /></form>
+ {% endifequal %}</a>
+ {% if not req.is_read %}</b>{% endif %}<br /></form>
{% endfor %}
{% endblock %}