X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Fday.html;fp=templates%2Fday.html;h=6954fd3a85974e44b1db0801968c9313d60fdaea;hb=eb16b47ddcaefaeab2f616419ea746cc32346893;hp=9af375419911c05d44a0fc99dcdc3f63d2e821bd;hpb=31b778276bb7297151f1c90098cc50842c9c138f;p=plomtask diff --git a/templates/day.html b/templates/day.html index 9af3754..6954fd3 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 %} -> @@ -131,6 +131,7 @@ add todo: states t add enabler +add disabler {% for condition in conditions_present %} @@ -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 %}