now view_task page also shows tags for the task.
authornishanth
Tue, 02 Mar 2010 04:19:22 +0530
changeset 171 8f31ed9817fa
parent 170 d69a562f969d
child 172 f21284458b8c
now view_task page also shows tags for the task.
templates/task/view.html
--- a/templates/task/view.html	Tue Mar 02 04:06:32 2010 +0530
+++ b/templates/task/view.html	Tue Mar 02 04:19:22 2010 +0530
@@ -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: