author | nishanth |
Fri, 26 Feb 2010 17:49:26 +0530 | |
changeset 122 | daee11bdfbaa |
parent 106 | 3c3ea2a3f92a |
child 164 | bfe621e64a16 |
permissions | -rw-r--r-- |
83 | 1 |
{% extends 'base.html' %} |
2 |
{% block content %} |
|
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
3 |
{% if not reqs %} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
4 |
You have no unreplied requests. |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
5 |
{% else %} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
6 |
{% for req in reqs %} |
122
daee11bdfbaa
now rid is not the position argument. it is request id.
nishanth
parents:
106
diff
changeset
|
7 |
<form><a href="/user/requests/rid={{req.id}}"> |
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
8 |
{% if not req.is_read %}<b>{% endif %}{{req.sent_by.username}}|{{req.role}}| |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
9 |
{% ifequal req.role "PY" %} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
10 |
{{req.task.title}} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
11 |
{% endifequal %}</a> |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
12 |
{% if not req.is_read %}</b>{% endif %}<br /></form> |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
13 |
{% endfor %} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
102
diff
changeset
|
14 |
{% endif %} |
83 | 15 |
{% endblock %} |