1 {% extends 'base.html' %} |
1 {% extends 'base.html' %} |
2 {% block content %} |
2 {% block content %} |
3 From: <a href=""/user/view/uid={{req.by.id}}"">{{req.by.username}}</a><br /> |
3 From: <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a><br /> |
4 To: |
4 To: |
5 {% for to_user in sent_users %} |
5 {% for to_user in sent_users %} |
6 <a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a>, |
6 <a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a>, |
7 {% endfor %} |
7 {% endfor %} |
8 <br /> |
8 <br /> |
9 Message: <br /> |
9 Message: <br /> |
10 {% ifequal "PY" req.role %} |
10 {% ifequal "PY" req.role %} |
11 <a href="/user/view/uid={{req.by.id}}">{{req.by.username}}</a> assigned {{req.pynts}} pynts to |
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.assigned_to.id}}">{{req.assigned_to.username}}</a> for the task |
12 <a href="/user/view/uid={{req.receiving_user.id}}">{{req.receiving_user.username}}</a> for the task |
13 <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br /> |
13 <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br /> |
14 Please click yes/no<br /> |
14 Please click yes/no<br /> |
15 <form action="yes/" method="post"> |
|
16 <input value="Yes" type="submit"> |
|
17 </form> |
|
18 <form action="no/" method="post"> |
|
19 <input value="No" type="submit"> |
|
20 </form> |
|
21 {% else %} |
15 {% else %} |
22 {% endifequal %} |
16 {% endifequal %} |
23 |
17 |
|
18 <form action="yes/" method="post"> |
|
19 <input value="Yes" type="submit"> |
|
20 </form> |
|
21 <form action="no/" method="post"> |
|
22 <input value="No" type="submit"> |
|
23 </form> |
|
24 <a href="/user/requests/">Click here</a> to return to the requests page. |
|
25 |
24 {% endblock %} |
26 {% endblock %} |