templates/task/view.html
changeset 22 36d3173ab7f9
parent 21 c28774fe7ffd
child 25 c0e4fc8b8b5b
--- a/templates/task/view.html	Thu Feb 04 22:37:15 2010 +0530
+++ b/templates/task/view.html	Thu Feb 04 23:10:30 2010 +0530
@@ -20,7 +20,11 @@
     <br />{{ task.desc }}<br />
     <hr>
     status of task is {{task.status}}<br />
-    view claims goes here depending on availability of claim<br />
+    {% if user_can_view_claim %}
+        <a href="/task/claim/tid={{task.id}}">View claims</a><br />
+        view claims goes here depending on availability of claim<br />
+    {% endif %}
+    
     {% if comments %}
         <br/>comments:<br />
         {% for comment in comments %}