X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/edit?a=blobdiff_plain;f=templates%2Fday.html;h=efa1c9bb1e78fc5ea455c5a678b4727fb22efdd3;hb=3a74c67ef298d16e7a7e5dd030e1fd813f42f0b4;hp=0fff9e049792f695230947e56afc5be3b4d40060;hpb=abef15c28141490af71a1b8a11882aaabc0d3775;p=plomtask diff --git a/templates/day.html b/templates/day.html index 0fff9e0..efa1c9b 100644 --- a/templates/day.html +++ b/templates/day.html @@ -1,10 +1,88 @@ {% extends 'base.html' %} + +{% macro show_node(node, indent) %} +{% if node.is_todo %} +{% for i in range(indent) %} {% endfor %} + +{% if node.seen %}({% else %}{% endif %}{{node.item.process.title.newest|e}}{% if node.seen %}){% else %}{% endif %} +{% else %} +{% for i in range(indent) %} {% endfor %} + +{% if node.seen %}({% else %}{% endif %}{{node.item.title.newest|e}}{% if node.seen %}){% else %}{% endif %} +{% endif %} +{% endmacro %} + + +{% macro undone_with_children(node, indent) %} +{% if not node.hide %} +