X-Git-Url: https://plomlompom.com/repos/bar%20baz.html?a=blobdiff_plain;ds=sidebyside;f=templates%2Fday.html;h=b38d566d67185990316878e2c4d7b0eb0795336b;hb=0ed3bc539d21d5536d0fc635760d88a2231587b9;hp=a089037a829092c7e1a29cda45775dd170e1f35e;hpb=54e6c8bccace28583cf9926aa00917a796628a00;p=plomtask diff --git a/templates/day.html b/templates/day.html index a089037..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 %} @@ -39,13 +29,13 @@ add todo:

    conditions

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