Use the right URL reverse name for selecting claimed user.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Fri, 21 Jan 2011 00:27:33 +0530
changeset 504 3b78ea899168
parent 503 a3e85fd764c7
child 505 a05fde6309e1
Use the right URL reverse name for selecting claimed user.
pytask/templates/task/claim.html
--- a/pytask/templates/task/claim.html	Fri Jan 21 00:17:10 2011 +0530
+++ b/pytask/templates/task/claim.html	Fri Jan 21 00:27:33 2011 +0530
@@ -10,7 +10,7 @@
         List of all the claims for the task <a href="{% url view_task task.id %}">{{task.title}}</a><br />
         {% for claim in old_claims %}
             <hr />
-            <a href="{% url view_user_profile claim.claimed_by.id %}">{{claim.claimed_by.username}}</a>
+            <a href="{% url view_user_profile 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 />
             {{claim.proposal|linebreaksbr}}<br />
         {% endfor %}
@@ -26,7 +26,7 @@
     {% endif %}
     {% if old_claims and is_creator %}
     <hr />
-        <a href="{% url select_task task.id %}">Select a user to assign the work</a>
+        <a href="{% url select_user task.id %}">Select a user to assign the work</a>
     {% endif %}
 
     {% if can_claim %}