--- a/templates/user/browse_requests.html Mon Mar 01 15:15:54 2010 +0530
+++ b/templates/user/browse_requests.html Tue Mar 02 01:05:24 2010 +0530
@@ -1,15 +1,36 @@
{% extends 'base.html' %}
{% block content %}
{% if not reqs %}
- You have no unreplied requests.
+ You have no unreplied requests <sup><a href="/about/request/" target="_blank">learn more</a></sup><br />
{% else %}
+ You have not yet replied to these requests.<sup><a href="/about/request/" target="_blank">learn more</a></sup><br /><br />
{% for req in reqs %}
- <form><a href="/user/requests/rid={{req.id}}">
- {% if not req.is_read %}<b>{% endif %}{{req.sent_by.username}}|{{req.role}}|
- {% ifequal req.role "PY" %}
- {{req.task.title}}
- {% endifequal %}</a>
- {% if not req.is_read %}</b>{% endif %}<br /></form>
+ <a href="/user/requests/rid={{req.id}}">
+ {% if not req.is_read %}<b>{% endif %}
+
+ {% ifequal req.role "PY" %}
+ Assign of pynts to {{req.receiving_user}} for the task "{{req.task.title|slice:":20"}}"
+ {% endifequal %}
+
+ {% ifequal req.role "MT" %}
+ Request to mentor the task "{{req.task.title|slice:":20"}}"
+ {% endifequal %}
+
+ {% ifequal req.role "DV" %}
+ Request to act as a developer in the website
+ {% endifequal %}
+
+ {% ifequal req.role "MG" %}
+ Request to act as a manager in the website
+ {% endifequal %}
+
+ {% ifequal req.role "AD" %}
+ Request to act as an admin in the website
+ {% endifequal %}
+
+
+ {% if not req.is_read %}</b>{% endif %}<br />
+ </a>
{% endfor %}
{% endif %}
{% endblock %}