X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;ds=sidebyside;f=templates%2Fday.html;h=0953d52446555fb695f021121ac3c9798827597d;hb=63249f5d7cefb97574610848ca3473cb1f9687e2;hp=5547f4534e94742600f0664aaece2b7cdc33afc3;hpb=bf8b491d50379772879f1cc9cbe6846fe50ce63b;p=plomtask diff --git a/templates/day.html b/templates/day.html index 5547f45..0953d52 100644 --- a/templates/day.html +++ b/templates/day.html @@ -1,7 +1,31 @@ {% 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}}

    -comment: {{day.comment|e}} +

    +prev | next +

    +
    +comment: +
    +add todo: + +{% for process in processes %} + +{% endfor %} + +
    + {% endblock %}