templates/task/claim.html
changeset 33 0d0ea7b188d5
parent 25 c0e4fc8b8b5b
child 70 a14ec2f09beb
equal deleted inserted replaced
32:78adf44d895d 33:0d0ea7b188d5
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block content %}
     2 {% block content %}
     3     List of all the claims for the task <a href="/task/view/tid={{task.id}}">{{task.title}}</a><br />
     3     {% if claims %}
     4     {% for claim in claims %}
     4         List of all the claims for the task <a href="/task/view/tid={{task.id}}">{{task.title}}</a><br />
     5         <hr />
     5         {% for claim in claims %}
     6         <a href="/user/view/uid={{claim.user.id}}">{{claim.user.username}}</a> at {{claim.creation_datetime.ctime}} wrote:<br />
     6             <hr />
     7         {{claim.message}}<br />
     7             <a href="/user/view/uid={{claim.user.id}}">{{claim.user.username}}</a> at {{claim.creation_datetime.ctime}} wrote:<br />
     8     {% endfor %}
     8             {{claim.message}}<br />
     9     {% if task_claimable and is_mentor %}
     9         {% endfor %}
       
    10     {% else %}
       
    11         There are no claims for task <a href="/task/view/tid={{task.id}}">{{task.title}}</a> yet.
       
    12     {% endif %}
       
    13     {% if task_claimed and is_mentor %}
    10         <a href="/task/assign/tid={{task.id}}">Assign task</a>
    14         <a href="/task/assign/tid={{task.id}}">Assign task</a>
    11     {% endif %}
    15     {% endif %}
    12     {% if user_can_claim %}
    16     {% if user_can_claim %}
    13     <hr />
    17     <hr />
    14     {% if errors %}
    18     {% if errors %}