templates/user/view_request.html
changeset 133 34187a80d279
parent 107 4903b4973fc8
child 134 3a49a7e23442
equal deleted inserted replaced
132:ca88bf4ad362 133:34187a80d279
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block content %}
     2 {% block content %}
       
     3     {% if newest %}
       
     4         <a href="/user/requests/rid={{newest.id}}">&lt;&lt;newest</a>
       
     5     {% endif %}
       
     6     {% if newer %}
       
     7         <a href="/user/requests/rid={{newer.id}}">&lt;newer</a>
       
     8     {% endif %}
       
     9     {% if older %}
       
    10         <a href="/user/requests/rid={{older.id}}">older&gt;</a>
       
    11     {% endif %}
       
    12     {% if oldest %}
       
    13         <a href="/user/requests/rid={{oldest.id}}">oldest&gt;&gt;</a>
       
    14     {% endif %}
       
    15     <br />
     3     From:&nbsp; <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a><br />
    16     From:&nbsp; <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a><br />
     4     To: 
    17     To: 
     5     {% for to_user in sent_users %}
    18     {% for to_user in sent_users %}
     6         <a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a>,&nbsp;
    19         <a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a>&nbsp;
     7     {% endfor %}
    20     {% endfor %}
     8     <br />
    21     <br />
       
    22     sent at {{req.creation_date}}<br />
     9     Message: <br />
    23     Message: <br />
    10     {% ifequal "PY" req.role %}
    24     {% ifequal "PY" req.role %}
    11         <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> assigned {{req.pynts}} pynts to 
    25         <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> assigned {{req.pynts}} pynts to 
    12         <a href="/user/view/uid={{req.receiving_user.id}}">{{req.receiving_user.username}}</a> for the task
    26         <a href="/user/view/uid={{req.receiving_user.id}}">{{req.receiving_user.username}}</a> for the task
    13         <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br />
    27         <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br />