diff options
author | nishanth | 2010-03-02 01:05:24 +0530 |
---|---|---|
committer | nishanth | 2010-03-02 01:05:24 +0530 |
commit | 95bd47579adfdb950f4724e3d3aeee4b78b9f1fc (patch) | |
tree | f89e011e60862c146c395652aad91d2283c0d832 /templates/user/browse_requests.html | |
parent | d780357b029a9e3a4c5d7b4e8902f35dea2113fd (diff) | |
download | pytask-95bd47579adfdb950f4724e3d3aeee4b78b9f1fc.tar.gz pytask-95bd47579adfdb950f4724e3d3aeee4b78b9f1fc.tar.bz2 pytask-95bd47579adfdb950f4724e3d3aeee4b78b9f1fc.zip |
modified the look of browse_requests page task_view page and view_request page.
Diffstat (limited to 'templates/user/browse_requests.html')
-rw-r--r-- | templates/user/browse_requests.html | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/templates/user/browse_requests.html b/templates/user/browse_requests.html index fca0763..cee1665 100644 --- a/templates/user/browse_requests.html +++ b/templates/user/browse_requests.html @@ -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 %} |