templates/user/view_request.html
changeset 83 fd2e1bd7af82
child 86 fcbdf372857c
equal deleted inserted replaced
80:8917b190c4c4 83:fd2e1bd7af82
       
     1 {% extends 'base.html' %}
       
     2 {% block content %}
       
     3     From:&nbsp; <a href=""/user/view/uid={{req.by.id}}"">{{req.by.username}}</a><br />
       
     4     To: 
       
     5     {% for to_user in sent_users %}
       
     6         <a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a>,&nbsp;
       
     7     {% endfor %}
       
     8     <br />
       
     9     Message: <br />
       
    10     {% ifequal "PY" req.role %}
       
    11         <a href="/user/view/uid={{req.by.id}}">{{req.by.username}}</a> assigned {{req.pynts}} pynts to 
       
    12         <a href="/user/view/uid={{req.assigned_to.id}}">{{req.assigned_to.username}}</a> for the task
       
    13         <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br />
       
    14         Please click yes/no<br />
       
    15         <form action="yes/" method="post">
       
    16             <input value="Yes" type="submit">
       
    17         </form>
       
    18         <form action="no/" method="post">
       
    19             <input value="No" type="submit">
       
    20         </form>
       
    21     {% else %}
       
    22     {% endifequal %}
       
    23     
       
    24 {% endblock %}