templates/task/claim.html
changeset 72 9fc60a221016
parent 70 a14ec2f09beb
child 156 7cad1e92713d
equal deleted inserted replaced
70:a14ec2f09beb 72:9fc60a221016
     6             <hr />
     6             <hr />
     7             <a href="/user/view/uid={{claim.user.id}}">{{claim.user.username}}</a> at {{claim.creation_datetime.ctime}} wrote:<br />
     7             <a href="/user/view/uid={{claim.user.id}}">{{claim.user.username}}</a> at {{claim.creation_datetime.ctime}} wrote:<br />
     8             {{claim.message}}<br />
     8             {{claim.message}}<br />
     9         {% endfor %}
     9         {% endfor %}
    10     {% else %}
    10     {% else %}
    11         There are no claims for this task yet.<br />
    11         {% if task_claimable%}
       
    12             There are no claims for this task yet.<br />
       
    13         {% else %}
       
    14             This task cannot be claimed right now.
       
    15         {% endif %}
    12         <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.
    16         <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.
    13     {% endif %}
    17     {% endif %}
    14     {% if task_claimed and is_mentor %}
    18     {% if task_claimed and is_mentor %}
    15         <a href="/task/assign/tid={{task.id}}">Assign task</a>
    19         <a href="/task/assign/tid={{task.id}}">Select a user to assign the work.</a>
    16     {% endif %}
    20     {% endif %}
    17     {% if user_can_claim %}
    21     {% if user_can_claim %}
    18     <hr />
    22     <hr />
    19     {% if errors %}
    23     {% if errors %}
    20         {% for error in errors %}
    24         {% for error in errors %}