X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance2?a=blobdiff_plain;f=templates%2Fday.html;h=efa1c9bb1e78fc5ea455c5a678b4727fb22efdd3;hb=704c00a101fc1922158a3a71a043562d34b696ad;hp=7a34e58544f1c93a871bc316962d2bf60040b5d2;hpb=12bbfea600184c9e2657cc9a0c705848a4dae29a;p=plomtask diff --git a/templates/day.html b/templates/day.html index 7a34e58..efa1c9b 100644 --- a/templates/day.html +++ b/templates/day.html @@ -1,5 +1,50 @@ {% 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 %} +
@@ -7,7 +52,37 @@
{% endblock %}