50 {{ task.desc|linebreaksbr }} |
50 {{ task.desc|linebreaksbr }} |
51 <br /><br /><hr /> |
51 <br /><br /><hr /> |
52 {% if task.tags.count %} |
52 {% if task.tags.count %} |
53 Tags: |
53 Tags: |
54 {% for tag in task.tags %} |
54 {% for tag in task.tags %} |
55 tag |
55 {{tag}} |
56 {% endfor %} |
56 {% endfor %} |
57 <hr /> |
57 <hr /> |
58 {% endif %} |
58 {% endif %} |
59 |
59 |
60 {% if deps %} |
60 {% if deps %} |
61 |
61 |
62 <br />The task has following dependencies.<br /> |
62 <br />The task has following dependencies.<ul> |
63 {% for dep in deps %} |
63 {% for dep in deps %} |
64 <a href="/task/view/tid={{dep.id}}">{{dep.title}}</a><br /> |
64 <li><a href="/task/view/tid={{dep.id}}">{{dep.title}}</a></li> |
65 {% endfor %} |
65 {% endfor %} |
|
66 </ul> |
66 |
67 |
67 {% if can_mod_tasks %} |
68 {% if can_mod_tasks %} |
68 <a href="/task/addtask/tid={{task.id}}">add more dependencies</a> |
69 <a href="/task/addtask/tid={{task.id}}">add more dependencies</a> |
69 <a href="/task/remtask/tid={{task.id}}">remove an existing dependency</a> |
70 <a href="/task/remtask/tid={{task.id}}">remove an existing dependency</a> |
70 {% endif %} |
71 {% endif %} |
71 |
72 |
72 {% else %} |
73 {% else %} |
73 |
74 |
74 {% if subs %} |
75 {% if subs %} |
75 The task has following sub tasks.<br /> |
76 The task has following sub tasks.<ul> |
76 {% for sub in subs %} |
77 {% for sub in subs %} |
77 <a href="/task/view/tid={{sub.id}}">{{sub.title}}</a><br /> |
78 <li><a href="/task/view/tid={{sub.id}}">{{sub.title}}</a></li> |
78 {% endfor %} |
79 {% endfor %} |
|
80 </ul> |
79 |
81 |
80 {% if can_mod_tasks %} |
82 {% if can_mod_tasks %} |
81 <a href="/task/addtask/tid={{task.id}}">add more subtasks</a> |
83 <a href="/task/addtask/tid={{task.id}}">add more subtasks</a> |
82 <a href="/task/remtask/tid={{task.id}}">remove an existing subtask</a> |
84 <a href="/task/remtask/tid={{task.id}}">remove an existing subtask</a> |
83 {% endif %} |
85 {% endif %} |