author | nishanth |
Fri, 26 Feb 2010 00:29:04 +0530 | |
changeset 106 | 3c3ea2a3f92a |
parent 104 | d1bdd5d6c1a6 |
child 107 | 4903b4973fc8 |
permissions | -rw-r--r-- |
83 | 1 |
{% extends 'base.html' %} |
2 |
{% block content %} |
|
86 | 3 |
From: <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a><br /> |
83 | 4 |
To: |
5 |
{% for to_user in sent_users %} |
|
6 |
<a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a>, |
|
7 |
{% endfor %} |
|
8 |
<br /> |
|
9 |
Message: <br /> |
|
10 |
{% ifequal "PY" req.role %} |
|
86 | 11 |
<a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> assigned {{req.pynts}} pynts to |
12 |
<a href="/user/view/uid={{req.receiving_user.id}}">{{req.receiving_user.username}}</a> for the task |
|
83 | 13 |
<a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br /> |
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
104
diff
changeset
|
14 |
{% endifequal %} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
104
diff
changeset
|
15 |
|
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
104
diff
changeset
|
16 |
{% ifequal "MT" req.role %} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
104
diff
changeset
|
17 |
<a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested you to act as a mentor for the task |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
104
diff
changeset
|
18 |
<a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br /> |
83 | 19 |
{% endifequal %} |
20 |
||
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
104
diff
changeset
|
21 |
Please accept or reject the request.<br /> |
86 | 22 |
<form action="yes/" method="post"> |
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
104
diff
changeset
|
23 |
<input value="Accept" type="submit"> |
86 | 24 |
</form> |
25 |
<form action="no/" method="post"> |
|
104 | 26 |
Remarks: <input type="text" name="remarks"> |
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
104
diff
changeset
|
27 |
<input value="Reject" type="submit"> |
86 | 28 |
</form> |
29 |
<a href="/user/requests/">Click here</a> to return to the requests page. |
|
30 |
||
83 | 31 |
{% endblock %} |