templates/user/view_request.html
changeset 107 4903b4973fc8
parent 106 3c3ea2a3f92a
child 133 34187a80d279
equal deleted inserted replaced
106:3c3ea2a3f92a 107:4903b4973fc8
    14     {% endifequal %}    
    14     {% endifequal %}    
    15     
    15     
    16     {% ifequal "MT" req.role %}
    16     {% ifequal "MT" req.role %}
    17         <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested you to act as a mentor for the task
    17         <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested you to act as a mentor for the task
    18         <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br />
    18         <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br />
       
    19     {% else %}
       
    20         You have been requested to act as 
       
    21         {% ifequal "AD" req.role %}
       
    22             an Admin
       
    23         {% else %}
       
    24             {% ifequal "MG" req.role %}
       
    25                 a Manager
       
    26             {% else %}
       
    27                 a Developer
       
    28             {% endifequal %}
       
    29         {% endifequal %}
       
    30         for the website by <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a>.<br />
    19     {% endifequal %}
    31     {% endifequal %}
    20     
    32     
    21     Please accept or reject the request.<br />
    33     Please accept or reject the request.<br />
    22     <form action="yes/" method="post">
    34     <form action="yes/" method="post">
    23         <input value="Accept" type="submit">
    35         <input value="Accept" type="submit">