X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7B%20card_id%20%7D%7D/delete?a=blobdiff_plain;f=templates%2Ftodo.html;h=80eb5c7bd356e8b93be5a2a02119f11c1d16fb13;hb=6b9970ff864e0e63527213fea5c0bed40ba877a7;hp=f50b635d2647879a66c602721481e68988a64bdc;hpb=e60bbd142b5026748ee2181ca6758afef6202fb4;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index f50b635..80eb5c7 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,86 +1,81 @@ -{% 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 %} -
- - -{{condition.title.newest|e}} -done
-add disables: -

parents

- -

children

- -adopt: - -{% for candidate in todo_candidates %} - -{% endfor %} - + + - -
- -
+ +children +{{ macros.simple_checkbox_table("adopt", todo.children, "todo", "todo_candidates", "adopt", true) }} + + + +{{ macros.edit_buttons() }} +
-