+{% if not node.seen %}
+
{% endif %}
-{% endmacro %}
+{% for condition in conditions_present %}
+
+{% if condition in node.todo.conditions and not condition.is_active %}
+O
+{% elif condition in node.todo.blockers and condition.is_active %}
+!
+{% endif %}
+
+{% endfor %}
-{% macro undone_with_children(node, indent) %}
-{% if not node.hide %}
-
-
-{% if node.is_todo %}
-
+{% if node.seen %}
+
+
{% if node.todo.effort %}{{ node.todo.effort }}{% endif %}
+{% else %}
+
+
{% endif %}
+
+{% for i in range(indent) %} {% endfor %} +
+{% if node.seen %}({% endif %}{{node.todo.title_then|e}}{% if node.seen %}){% endif %}
-
-{{ show_node(node, indent) }}
+
+{% for condition in conditions_present|reverse %}
+
{% if condition in node.todo.enables %} +{% elif condition in node.todo.disables %} !{% endif %}
+{% for i in range(indent) %} {% endfor %} +
+{% if not node.todo.is_done %}({% endif %}{% if node.seen %}[{% endif %}{{node.todo.title_then|e}}{% if node.seen %}]{% endif %}{% if not node.todo.is_done %}){% endif %}{% if node.todo.comment %} · {{node.todo.comment|e}}{% endif %}
-{% endif %}
+{% if not node.seen %}
{% for child in node.children %}
-{{ done_with_children(child, indent+1) }}
+{{ show_node_done(child, indent+1) }}
{% endfor %}
+{% endif %}
+{% endif %}
{% endmacro %}
+
{% block content %}
-