X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=sidebyside;f=templates%2Fday.html;h=637e08d94ad2e72da8fbcbd009b0c428131edaee;hb=12195a1fe2c15334c866036eaa171eb8e92f0408;hp=51829b2282146c09fb9ec175103f4fe2944378f9;hpb=e51477ebea9fb701d88de85088b2fda1247c73a2;p=plomtask diff --git a/templates/day.html b/templates/day.html index 51829b2..637e08d 100644 --- a/templates/day.html +++ b/templates/day.html @@ -1,6 +1,31 @@ {% extends 'base.html' %} +{% macro todo_with_children(todo, indent) %} +
  • {% for i in range(indent) %}+{% endfor %} [{% if todo.is_done %}x{% else %} {% endif %}] {{todo.process.title.newest|e}} +{% for child in todo.children %} +{{ todo_with_children(child, indent+1) }} +{% endfor %} +{% endmacro %} + {% block content %}

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

    +

    +prev | next +

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