X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Ftasks.html;fp=todo_templates%2Ftasks.html;h=a125985d9df32c85d338a327f0f1d00985531d37;hp=ed01d3071646d0adf58ea6658e23347b4ca5400b;hb=38b9ce0ba2b5af072554999bc5836ffe455f06db;hpb=979de59ced9fe3fd3860d19288b42485d7f02346 diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index ed01d30..a125985 100644 --- a/todo_templates/tasks.html +++ b/todo_templates/tasks.html @@ -23,20 +23,20 @@ tr.expanded { color: #888888; } {{ t.default_effort.now }} {% if uuid == expand_uuid %} -[-] +[-] {% elif t.subtasks|count > 0 %} -[+] +[+] {% endif %} -{{ t.title.now|e }} -{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %} +{{ t.title.now|e }} +{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %} {% if uuid == expand_uuid %} {% for uuid, t in expanded_tasks.items() %} {{ t.default_effort }} -  [+] {{ t.title.now|e }} -{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %} +  [+] {{ t.title.now|e }} +{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %} {% endfor %} {% endif %}