pytask/templates/task/claim.html
changeset 356 f88135529c74
parent 354 124ccd27ed4f
child 357 ec7f2f4256f5
--- a/pytask/templates/task/claim.html	Sun Jan 09 11:15:21 2011 +0530
+++ b/pytask/templates/task/claim.html	Sun Jan 09 11:25:08 2011 +0530
@@ -3,9 +3,9 @@
     {% if can_claim %}
     Propose a claim to work on this task.<br />
     {% endif %}
-    {% if claims %}
+    {% if old_claims %}
         List of all the claims for the task <a href="/task/view/tid={{task.uniq_key}}">{{task.title}}</a><br />
-        {% for claim in claims %}
+        {% for claim in old_claims %}
             <hr />
             <a href="/user/view/uid={{claim.claimed_by.id}}">{{claim.claimed_by.username}}</a>
             on {{claim.claim_datetime|date:"D d M Y"}} at {{claim.claim_datetime|time:"H:i"}} wrote:<br />
@@ -20,7 +20,6 @@
         {% else %}
             The task cannot be claimed at this stage.<br />
         {% endif %}
-        <a href="/task/view/tid={{task.id}}">Click here</a> to view the task.<br />
     {% endif %}
     {% if task_claimed and is_creator %}
         <a href="/task/select/tid={{task.id}}">Select a user to assign the work.</a>