X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=templates%2Fday.html;h=0953d52446555fb695f021121ac3c9798827597d;hb=d77d0661697655a7c2d0e9e0b270cf21e286d7fb;hp=44fd90d17f884050bd90b8231a9041d4dd3571a4;hpb=982d712cbf12acde21ce448e0d1ed28468f1c90e;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 %}