templates/user/browse_requests.html
branchbuildout
changeset 227 3c8f3b0e5b00
parent 214 679c7e237052
child 228 81994e525e69
equal deleted inserted replaced
214:679c7e237052 227:3c8f3b0e5b00
     1 {% extends 'base.html' %}
       
     2 {% block content %}
       
     3     {% if not reqs %}
       
     4         You have no unreplied requests <sup><a href="/about/request/" target="_blank">learn more</a></sup><br />
       
     5     {% else %}
       
     6         You have not yet replied to these requests.<sup><a href="/about/request/" target="_blank">learn more</a></sup><br /><br />
       
     7         {% for req in reqs %}
       
     8             <a href="/user/requests/rid={{req.id}}">
       
     9             {% if not req.is_read %}<b>{% endif %}
       
    10             
       
    11             {% ifequal req.role "PY" %}
       
    12                 Assign of pynts to {{req.receiving_user}} for the task "{{req.task.title|slice:":20"}}"
       
    13             {% endifequal %}
       
    14             
       
    15             {% ifequal req.role "MT" %} 
       
    16                 Request to mentor the task "{{req.task.title|slice:":20"}}"
       
    17             {% endifequal %}
       
    18             
       
    19             {% ifequal req.role "DV" %}
       
    20                 Request to act as a developer in the website
       
    21             {% endifequal %}
       
    22             
       
    23             {% ifequal req.role "MG" %}
       
    24                 Request to act as a manager in the website
       
    25             {% endifequal %}
       
    26             
       
    27             {% ifequal req.role "AD" %}
       
    28                 Request to act as an admin in the website
       
    29             {% endifequal %}
       
    30             
       
    31             
       
    32             {% if not req.is_read %}</b>{% endif %}<br />
       
    33             </a>
       
    34         {% endfor %}
       
    35     {% endif %}
       
    36 {% endblock %}