X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Ftodo.html;h=a2ef536eaf8230b21be7d3049db878a5a34c7cec;hb=23bf47fbbc14ccaf36fc5183720b413eea892ddf;hp=f50b635d2647879a66c602721481e68988a64bdc;hpb=e60bbd142b5026748ee2181ca6758afef6202fb4;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index f50b635..a2ef536 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,86 +1,85 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} + + {% block content %} -

Todo: {{todo.process.title.newest|e}}

+

Todo: {{todo.title_then|e}}

-

-id: {{todo.id_}}
-day: {{todo.date}}
-process: {{todo.process.title.newest|e}}
-done:
-comment: -

-

conditions

-{% for condition in todo.conditions %} + - - + + -{% endfor %} -
- - -{{condition.title.newest|e}} -day{{todo.date}}
-add condition: - -{% for condition_candidate in condition_candidates %} - -{% endfor %} - -

enables

- -{% for condition in todo.enables %} + - - + + -{% endfor %} -
- - -{{condition.title.newest|e}} -process{{todo.process.title.newest|e}}
-add enables: -

disables

- -{% for condition in todo.disables%} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -{% endfor %} + + + + + +
done
effort
comment
calendarize +
conditions{{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates") }}
blockers{{ macros.simple_checkbox_table("blocker", todo.blockers, "condition", "condition_candidates") }}
enables{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates") }}
disables{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates") }}
parents - - -{{condition.title.newest|e}} +{% for parent in todo.parents %} +{{parent.title_then|e}}
+{% endfor %}
children{{ macros.simple_checkbox_table("adopt", todo.children, "todo", "todo_candidates", "adopt", true) }}
-add disables: -

parents

- -

children

- -adopt: +{{ macros.edit_buttons() }} +
+ +{{ macros.datalist_of_titles("condition_candidates", condition_candidates) }} {% for candidate in todo_candidates %} - + {% endfor %} - - -
- -
- -