X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Fday.html;h=b38d566d67185990316878e2c4d7b0eb0795336b;hb=8e1a5416151dbcf506f2435823362e21d85aed2d;hp=8887f9a6609c05c119773d2d7ba68b131622856d;hpb=951d8ad55c0d54286f9c986257a67dfa9710fcf2;p=plomtask diff --git a/templates/day.html b/templates/day.html index 8887f9a..b38d566 100644 --- a/templates/day.html +++ b/templates/day.html @@ -1,15 +1,5 @@ {% 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 %} -{% for condition in todo.conditions %} -
  • {% for i in range(indent) %} {% endfor %}  <[{% if condition.is_active %}x{% else %} {% endif %}] {{condition.title.newest|e}} -{% endfor %} -{% endmacro %} - {% macro node_with_children(node, indent) %}
  • {% for i in range(indent) %}+{% endfor %} {% if node.is_todo %}