diff options
-rw-r--r-- | templates/index.html | 20 | ||||
-rw-r--r-- | templates/task/view.html | 12 |
2 files changed, 19 insertions, 13 deletions
diff --git a/templates/index.html b/templates/index.html index 6346165..44f5e6f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -86,34 +86,38 @@ --> {% if unpublished_tasks %} - Unpublished tasks viewable by you:<br /> + Unpublished tasks viewable by you:<br /><ul> {% for a_task in unpublished_tasks %} - <a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a> + <li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li> {% endfor %} + </ul> <br /><br /> {% endif %} {% if mentored_tasks %} - Tasks you are mentoring:<br /> + Tasks you are mentoring:<br /><ul> {% for a_task in mentored_tasks %} - <a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a> + <li></li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li> {% endfor %} + </ul> <br /><br > {% endif %} {% if working_tasks %} - Tasks that have been assigned to you:<br /> + Tasks that have been assigned to you:<br /><ul> {% for a_task in working_tasks %} - <a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a> + <li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li> {% endfor %} + </ul> <br /><br /> {% endif %} {% if claimed_tasks %} - Tasks claimed but still not assigned to you:<br /> + Tasks claimed but still not assigned to you:<br /><ul> {% for a_task in claimed_tasks %} - <a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a> + <li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li> {% endfor %} + </ul> <br /><br /> {% endif %} diff --git a/templates/task/view.html b/templates/task/view.html index b0d96c9..c95fe13 100644 --- a/templates/task/view.html +++ b/templates/task/view.html @@ -52,17 +52,18 @@ {% if task.tags.count %} Tags: {% for tag in task.tags %} - tag + {{tag}} {% endfor %} <hr /> {% endif %} {% if deps %} - <br />The task has following dependencies.<br /> + <br />The task has following dependencies.<ul> {% for dep in deps %} - <a href="/task/view/tid={{dep.id}}">{{dep.title}}</a><br /> + <li><a href="/task/view/tid={{dep.id}}">{{dep.title}}</a></li> {% endfor %} + </ul> {% if can_mod_tasks %} <a href="/task/addtask/tid={{task.id}}">add more dependencies</a> @@ -72,10 +73,11 @@ {% else %} {% if subs %} - The task has following sub tasks.<br /> + The task has following sub tasks.<ul> {% for sub in subs %} - <a href="/task/view/tid={{sub.id}}">{{sub.title}}</a><br /> + <li><a href="/task/view/tid={{sub.id}}">{{sub.title}}</a></li> {% endfor %} + </ul> {% if can_mod_tasks %} <a href="/task/addtask/tid={{task.id}}">add more subtasks</a> |