summaryrefslogtreecommitdiff
path: root/templates/task/view.html
diff options
context:
space:
mode:
authornishanth2010-02-04 23:10:30 +0530
committernishanth2010-02-04 23:10:30 +0530
commitfcd65993031a3c9ac9b9d1d42f26fed3f21a3f70 (patch)
treefb4b455382c00dbc68becb49bd12f2c017893b5b /templates/task/view.html
parent9dbedfce8120701cddfae38135c0ddd9dc57835c (diff)
downloadpytask-fcd65993031a3c9ac9b9d1d42f26fed3f21a3f70.tar.gz
pytask-fcd65993031a3c9ac9b9d1d42f26fed3f21a3f70.tar.bz2
pytask-fcd65993031a3c9ac9b9d1d42f26fed3f21a3f70.zip
addded link to view claims in 'view task' page .
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 %}