X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;f=templates%2Ftodo.html;h=efaabdd2a4de4f6aba490e1fe77b618782434104;hb=e150bee233a648950061b716dc1780581105ede6;hp=9395adac6d92125f33b1ee0d320ad486f9281325;hpb=f8118b1ed8615870b490566cf649d191f5877932;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index 9395ada..efaabdd 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,88 +1,76 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} {% block content %}

Todo: {{todo.process.title.newest|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 %} - +{{parent.process.title.newest|e}}
{% endfor %} -
+ + + + +children +{{ macros.simple_checkbox_table("adopt", todo.children, "adopt", "todo_candidates", "adopt") }} + - -
- -
+ +{{ macros.edit_buttons() }} +
-