X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Ftasks.html;fp=todo_templates%2Ftasks.html;h=ed01d3071646d0adf58ea6658e23347b4ca5400b;hp=7943b8231eb233630ac3871f0687186960ba8a89;hb=76210b693b77e67bf8160a7fb869ae416309d333;hpb=28bd91c52ce1eab2b26793097e0d9cabc3c33c64 diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index 7943b82..ed01d30 100644 --- a/todo_templates/tasks.html +++ b/todo_templates/tasks.html @@ -10,33 +10,33 @@ td.number { text-align: right; } tr.expanded { color: #888888; } {% endblock %} {% block content %} -
+ {% include 'tagfilters.html' %}
-{% for uuid, t in db.tasks.items() | sort(attribute='1.title') %} +{% for uuid, t in db.tasks.items() | sort(attribute='1.title.now') %} {% if t.visible %} - + - +{{ t.title.now|e }} + {% if uuid == expand_uuid %} {% for uuid, t in expanded_tasks.items() %} - - + + {% endfor %} {% endif %}
default
effort
tasktags
{{ t.default_effort }}{{ t.default_effort.now }} {% if uuid == expand_uuid %} [-] -{% elif t.links|count > 0 %} +{% elif t.subtasks|count > 0 %} [+] {% endif %} -{{ t.title|e }}{% for tag in t.tags | sort %}{{ tag }} {% endfor %}{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %}
{{ t.default_effort }}  [+] {{ t.title|e }}{% for tag in t.tags | sort %}{{ tag }} {% endfor %}  [+] {{ t.title.now|e }}{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %}