X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=templates%2Fday.html;h=2e1a380502f2e10e934b7d4f5eab86254ebd8c8d;hb=5383b5cf1520a1cb66b4966dd4ee449a99f5e465;hp=9af375419911c05d44a0fc99dcdc3f63d2e821bd;hpb=31b778276bb7297151f1c90098cc50842c9c138f;p=plomtask diff --git a/templates/day.html b/templates/day.html index 9af3754..2e1a380 100644 --- a/templates/day.html +++ b/templates/day.html @@ -38,7 +38,7 @@ td.todo_line { {% endif %} {% for condition in conditions_present %} -{% if condition in node.todo.conditions %}{% if not condition.is_active %}O{% endif %}{% endif %} +{% if condition in node.todo.conditions and not condition.is_active %}O{% elif condition in node.todo.blockers and condition.is_active %}!{% endif %} {% endfor %} -> @@ -47,11 +47,11 @@ td.todo_line { {% if node.todo.effort %}{{ node.todo.effort }}{% endif %} {% else %} - + {% endif %} {% for i in range(indent) %}  {% endfor %} + -{% if node.seen %}({% endif %}{{node.todo.process.title.newest|e}}{% if node.seen %}){% endif %} +{% if node.seen %}({% endif %}{{node.todo.title_then|e}}{% if node.seen %}){% endif %} -> @@ -86,7 +86,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.title_then|e}} <- {% endfor %}) @@ -97,7 +97,7 @@ td.todo_line { {% for i in range(indent) %}  {% endfor %} + {% 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 %} +{% if node.seen %}({% endif %}{{node.todo.title_then|e}} {% if node.todo.comment|length > 0 %}[{{node.todo.comment|e}}]{% endif %}{% if node.seen %}){% endif %} @@ -131,6 +131,7 @@ add todo: states t add enabler +add disabler {% for condition in conditions_present %} @@ -149,7 +150,7 @@ add todo: {% endfor %} [{% if condition.is_active %}X{% else %} {% endif %}] -{{condition.title.newest|e}} +{{condition.title.at(day.date)|e}} {% for _ in conditions_present %} {% if outer_loop.index0 + loop.index0 < conditions_present|length %} @@ -162,6 +163,10 @@ add todo: {{ macros.datalist_of_titles(list_name, enablers_for[condition.id_]) }} +{% set list_name = "todos_against_%s"|format(condition.id_) %} + +{{ macros.datalist_of_titles(list_name, disablers_for[condition.id_]) }} + {% endfor %}