summaryrefslogtreecommitdiff
path: root/templates/task/view.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/task/view.html')
-rw-r--r--templates/task/view.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/task/view.html b/templates/task/view.html
index 7f096ed..b20356b 100644
--- a/templates/task/view.html
+++ b/templates/task/view.html
@@ -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 %}