templates/task/view.html
changeset 167 b61e45074ba1
parent 164 bfe621e64a16
child 171 8f31ed9817fa
--- a/templates/task/view.html	Tue Mar 02 02:25:28 2010 +0530
+++ b/templates/task/view.html	Tue Mar 02 03:21:20 2010 +0530
@@ -10,12 +10,16 @@
             <a href="/task/edit/tid={{task.id}}">Edit task</a>
         {% endif %}
         
+        {% if can_publish %}
+            <a href="/task/publish/tid={{task.id}}">Publish task</a>
+        {% endif %}
+        
         {% if can_close %}
             <a href="/task/close/tid={{task.id}}">Close this task</a>
         {% endif %}
-                    
-        {% if can_publish %}
-            <a href="/task/publish/tid={{task.id}}">Publish task</a>
+        
+        {% if can_delete %}
+            <a href="/task/delete/tid={{task.id}}">Delete task</a>
         {% endif %}
 
         <hr />created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a>