pytask/templates/task/claim.html
changeset 417 b37e541bf950
parent 379 ed2dadfc829a
child 431 fcc87a3f0311
equal deleted inserted replaced
416:265dbd81c451 417:b37e541bf950
     2 {% block content %}
     2 {% block content %}
     3     {% if can_claim %}
     3     {% if can_claim %}
     4     Propose a claim to work on this task.<br />
     4     Propose a claim to work on this task.<br />
     5     {% endif %}
     5     {% endif %}
     6     {% if old_claims %}
     6     {% if old_claims %}
     7         List of all the claims for the task <a href="/task/view/tid={{task.uniq_key}}">{{task.title}}</a><br />
     7         List of all the claims for the task <a href="{% url view_task task.id %}">{{task.title}}</a><br />
     8         {% for claim in old_claims %}
     8         {% for claim in old_claims %}
     9             <hr />
     9             <hr />
    10             <a href="/profile/user/view/uid={{claim.claimed_by.id}}">{{claim.claimed_by.username}}</a>
    10             <a href="{% url view_profile claim.claimed_by.id %}">{{claim.claimed_by.username}}</a>
    11             on {{claim.claim_datetime|date:"D d M Y"}} at {{claim.claim_datetime|time:"H:i"}} wrote:<br />
    11             on {{claim.claim_datetime|date:"D d M Y"}} at {{claim.claim_datetime|time:"H:i"}} wrote:<br />
    12             {{claim.proposal|linebreaksbr}}<br />
    12             {{claim.proposal|linebreaksbr}}<br />
    13         {% endfor %}
    13         {% endfor %}
    14     {% else %}
    14     {% else %}
    15         {% if task_claimable %}
    15         {% if task_claimable %}
    21             The task cannot be claimed at this stage.<br />
    21             The task cannot be claimed at this stage.<br />
    22         {% endif %}
    22         {% endif %}
    23     {% endif %}
    23     {% endif %}
    24     {% if old_claims and is_creator %}
    24     {% if old_claims and is_creator %}
    25     <hr />
    25     <hr />
    26         <a href="/task/select/tid={{task.uniq_key}}">Select a user to assign the work</a>
    26         <a href="{% url select_task task.id %}">Select a user to assign the work</a>
    27     {% endif %}
    27     {% endif %}
    28 
    28 
    29     {% if can_claim %}
    29     {% if can_claim %}
    30         <hr />
    30         <hr />
    31         <form action="" method="post">
    31         <form action="" method="post">