From 774cd3d05765efd566924e659c9fa55dfa47482b Mon Sep 17 00:00:00 2001 From: Scot Hacker Date: Sun, 4 Feb 2018 23:24:27 -0800 Subject: [PATCH] list_detail indentation --- todo/templates/todo/list_detail.html | 48 +++++++++++++++++++--------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/todo/templates/todo/list_detail.html b/todo/templates/todo/list_detail.html index 5e4286a..ccd2c53 100644 --- a/todo/templates/todo/list_detail.html +++ b/todo/templates/todo/list_detail.html @@ -95,24 +95,42 @@ {% for task in task_list %} - - {{ task.title|truncatewords:20 }} - {{ task.created_date|date:"m/d/Y" }} - {% if task.overdue_status %}{% endif %} - {{ task.due_date|date:"m/d/Y" }} - {% if task.overdue_status %}{% endif %} + + + + {{ task.title|truncatewords:20 }} + + + {{ task.created_date|date:"m/d/Y" }} + + + {% if task.overdue_status %}{% endif %} + {{ task.due_date|date:"m/d/Y" }} + {% if task.overdue_status %}{% endif %} - {{ task.created_by }} - {% if task.assigned_to %}{{ task.assigned_to }}{% else %}Anyone{% endif %} - {% if task.note %}≈{% endif %} - {% if task.comment_set.all.count != 0 %}{{ task.comment_set.all.count }}{% endif %} + + {{ task.created_by }} + + + {% if task.assigned_to %}{{ task.assigned_to }}{% else %}Anyone{% endif %} + + + {% if task.note %}≈{% endif %} + + + {% if task.comment_set.all.count != 0 %}{{ task.comment_set.all.count }}{% endif %} + {% if list_slug == "mine" %} - {{ task.list }} - {% endif %} - - - {% endfor %} + + {{ task.list }} + + {% endif %} + + + + + {% endfor %}