--- a/templates/user/view_request.html Fri Feb 26 00:17:54 2010 +0530
+++ b/templates/user/view_request.html Fri Feb 26 00:29:04 2010 +0530
@@ -11,16 +11,20 @@
<a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> assigned {{req.pynts}} pynts to
<a href="/user/view/uid={{req.receiving_user.id}}">{{req.receiving_user.username}}</a> for the task
<a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br />
- Please click yes/no<br />
- {% else %}
+ {% endifequal %}
+
+ {% ifequal "MT" req.role %}
+ <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested you to act as a mentor for the task
+ <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br />
{% endifequal %}
+ Please accept or reject the request.<br />
<form action="yes/" method="post">
- <input value="Yes" type="submit">
+ <input value="Accept" type="submit">
</form>
<form action="no/" method="post">
Remarks: <input type="text" name="remarks">
- <input value="No" type="submit">
+ <input value="Reject" type="submit">
</form>
<a href="/user/requests/">Click here</a> to return to the requests page.