X-Git-Url: https://plomlompom.com/repos/condition_titles?a=blobdiff_plain;ds=sidebyside;f=templates%2Fday.html;h=0953d52446555fb695f021121ac3c9798827597d;hb=63249f5d7cefb97574610848ca3473cb1f9687e2;hp=44fd90d17f884050bd90b8231a9041d4dd3571a4;hpb=6b329a28bb4aec8d1846f5cc5402ed6fca5eb3da;p=plomtask diff --git a/templates/day.html b/templates/day.html index 44fd90d..0953d52 100644 --- a/templates/day.html +++ b/templates/day.html @@ -1,5 +1,12 @@ {% extends 'base.html' %} +{% macro todo_with_children(todo, indent) %} +
  • {% for i in range(indent) %}+{% endfor %}{{todo.process.title.newest|e}} +{% for child in todo.children %} +{{ todo_with_children(child, indent+1) }} +{% endfor %} +{% endmacro %} + {% block content %}

    {{day.date}} / {{day.weekday}}

    @@ -17,7 +24,7 @@ add todo:

    {% endblock %}