summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornishanth2010-03-02 04:19:22 +0530
committernishanth2010-03-02 04:19:22 +0530
commit00d4f5ee920f0a5baa37023d8b212d9bb4119424 (patch)
tree40008f85b6184f237b85c1092505844efc977eaf
parent34c55c077fd210a55476e76a805d9562efa3b22d (diff)
downloadpytask-00d4f5ee920f0a5baa37023d8b212d9bb4119424.tar.gz
pytask-00d4f5ee920f0a5baa37023d8b212d9bb4119424.tar.bz2
pytask-00d4f5ee920f0a5baa37023d8b212d9bb4119424.zip
now view_task page also shows tags for the task.
-rw-r--r--templates/task/view.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/task/view.html b/templates/task/view.html
index d565a13..5e4184c 100644
--- a/templates/task/view.html
+++ b/templates/task/view.html
@@ -48,7 +48,14 @@
<hr />
<b>Description:</b><br />
{{ task.desc|linebreaksbr }}
- <hr />
+ <br /><br /><hr />
+ {% if task.tags.count %}
+ Tags:
+ {% for tag in task.tags %}
+ tag
+ {% endfor %}
+ <hr />
+ {% endif %}
{% if deps %}
@@ -65,7 +72,6 @@
{% else %}
{% if subs %}
- This task cannot be claimed.. It exists only to show all of its sub tasks in one place.<br />
The task has following sub tasks.<br />
{% for sub in subs %}
<a href="/task/view/tid={{sub.id}}">{{sub.title}}</a><br />
@@ -100,6 +106,10 @@
{% ifequal task.status "OP" %}
<br />There are no users working on this task.<br />
{% endifequal %}
+
+ {% if subs %}
+ <br />This task cannot be claimed.. It exists only to show all of its sub tasks in one place.<br />
+ {% endif %}
{% if assigned_users %}
Users working on this task: