X-Git-Url: https://plomlompom.com/repos/day?a=blobdiff_plain;f=templates%2Fday.html;h=89290582486b54042d073d8092477cfe185391a4;hb=a989d0a6b31a21c579f135831c13fca088c1ef6c;hp=f13eb5c309750d01a7f366c2a85255ccb44d4bd9;hpb=bdb37bdbfdc46a64631c0fb97d0d86540076165e;p=plomtask
diff --git a/templates/day.html b/templates/day.html
index f13eb5c..8929058 100644
--- a/templates/day.html
+++ b/templates/day.html
@@ -1,4 +1,5 @@
-{% extends 'base.html' %}
+{% extends '_base.html' %}
+{% import '_macros.html' as macros %}
@@ -32,13 +33,14 @@ td.todo_line {
{% macro show_node_undone(node, indent) %}
{% if not node.todo.is_done %}
+
{% for condition in conditions_present %}
{% if condition in node.todo.conditions %}{% if not condition.is_active %}O{% endif %}{% endif %} |
{% endfor %}
-> |
- |
+ |
{% for i in range(indent) %} {% endfor %} +
{% if node.seen %}({% endif %}{{node.todo.process.title.newest|e}}{% if node.seen %}){% endif %}
@@ -49,7 +51,7 @@ td.todo_line {
| {% if condition in node.todo.enables %}+{% elif condition in node.todo.disables %}!{% endif %} |
{% endfor %}
- |
+ |
{% endif %}
@@ -70,7 +72,7 @@ td.todo_line {
{% if path|length > 0 and not path[-1].todo.is_done %}
-({% for path_node in path %}{{path_node.todo.process.title.newest|e}} <- {% endfor %})
+({% for path_node in path %}{{path_node.todo.process.title.newest|e}} <- {% endfor %})
|
@@ -81,7 +83,7 @@ td.todo_line {
{% for i in range(indent) %} {% endfor %} +
{% endif %}
-{% if node.seen %}({% endif %}{{node.todo.process.title.newest|e}}{% if node.seen %}){% endif %}
+{% if node.seen %}({% endif %}{{node.todo.process.title.newest|e}} {% if node.todo.comment|length > 0 %}[{{node.todo.comment|e}}]{% endif %}{% if node.seen %}){% endif %}
|
@@ -102,14 +104,9 @@ td.todo_line {
prev | next
-{% endblock %}
+{{ macros.datalist_of_titles("processes", processes) }}
+{% endblock %}