X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Fday.html;h=82eaa56fb7b9acfd6aa55b7db39f080f15459ce4;hb=34741b65438149b4e02f1e2bb4f8fdba5df5a667;hp=637e08d94ad2e72da8fbcbd009b0c428131edaee;hpb=a0fc8b9ddabe3af5b2cc0592513ba3e69d5fd9d4;p=plomtask diff --git a/templates/day.html b/templates/day.html index 637e08d..82eaa56 100644 --- a/templates/day.html +++ b/templates/day.html @@ -5,6 +5,9 @@ {% for child in todo.children %} {{ todo_with_children(child, indent+1) }} {% endfor %} +{% for condition in todo.conditions %} +
  • {% for i in range(indent+1) %}+{% endfor %} [{% if condition.is_active %}x{% else %} {% endif %}] {{condition.title.newest|e}} +{% endfor %} {% endmacro %} {% block content %} @@ -22,6 +25,20 @@ add todo: {% endfor %} +

    conditions

    +{% for node in conditions_listing %} +
  • [{% if node['condition'].is_active %}x{% else %} {% endif %}] {{node['condition'].title.newest|e}} + +
  • +{% endfor %} +

    todos