templates/task/view.html
changeset 185 f65e62255e47
parent 176 13ceb76fd0a3
child 187 72d57f59a561
--- a/templates/task/view.html	Tue Mar 02 22:50:17 2010 +0530
+++ b/templates/task/view.html	Wed Mar 03 04:08:15 2010 +0530
@@ -127,7 +127,12 @@
         {% endif %}
         
         {% if task_claimable %}
-            <a href="/task/claim/tid={{task.id}}">View claims</a>
+            <a href="/task/claim/tid={{task.id}}">
+            {% if is_mentor %}
+                View claims
+            {% else %}
+                Claim the task
+            {% endif %}</a>
         {% endif %}
         
         {% if comments %}