diff -r 0b6d251d3c30 -r 1cc03941ed5d templates/task/view.html --- a/templates/task/view.html Wed Feb 24 20:33:45 2010 +0530 +++ b/templates/task/view.html Thu Feb 25 02:11:49 2010 +0530 @@ -19,20 +19,41 @@ {% endif %} {% if deps %} -
The task has following dependencies + +
The task has following dependencies.
{% for dep in deps %} {{dep.title}}
{% endfor %} + {% if can_mod_tasks %} add more dependencies remove an existing dependency {% endif %} + {% else %} - {% if can_mod_tasks %} - add a subtask/dependency + + {% if subs %} + +
The task has following sub tasks.
+ {% for sub in subs %} + {{sub.title}}
+ {% endfor %} + + {% if can_mod_tasks %} + add more subtasks + remove an existing subtask + {% endif %} + + {% else %} + + {% if can_mod_tasks %} + add a subtask/dependency + {% endif %} + {% endif %} {% endif %} +

Description:

{{ task.desc }}