templates/user/browse_requests.html
changeset 122 daee11bdfbaa
parent 106 3c3ea2a3f92a
child 164 bfe621e64a16
equal deleted inserted replaced
121:0c568378a4bc 122:daee11bdfbaa
     2 {% block content %}
     2 {% block content %}
     3     {% if not reqs %}
     3     {% if not reqs %}
     4         You have no unreplied requests.
     4         You have no unreplied requests.
     5     {% else %}
     5     {% else %}
     6         {% for req in reqs %}
     6         {% for req in reqs %}
     7             <form><a href="/user/requests/rid={{req.pos}}">
     7             <form><a href="/user/requests/rid={{req.id}}">
     8             {% if not req.is_read %}<b>{% endif %}{{req.sent_by.username}}|{{req.role}}|
     8             {% if not req.is_read %}<b>{% endif %}{{req.sent_by.username}}|{{req.role}}|
     9             {% ifequal req.role "PY" %}            
     9             {% ifequal req.role "PY" %}            
    10                 {{req.task.title}}
    10                 {{req.task.title}}
    11             {% endifequal %}</a>
    11             {% endifequal %}</a>
    12             {% if not req.is_read %}</b>{% endif %}<br /></form>
    12             {% if not req.is_read %}</b>{% endif %}<br /></form>