X-Git-Url: https://plomlompom.com/repos//%22https:/validator.w3.org/check?a=blobdiff_plain;f=templates%2Fcondition.html;h=324c8f8a0efe9c6c05dba0307fd682807983bcdf;hb=63073c2c05785d2b5539780dd5bc40adff57aab1;hp=00aeedb6762f2d304b8784f116bce795ba350418;hpb=12be63c6ef58282cb6b7d5b7bc2eabe8946a1bfc;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index 00aeedb..324c8f8 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -1,4 +1,5 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} @@ -9,7 +10,7 @@ title - +{% if condition.id_ %} [history]{% endif %} @@ -19,13 +20,46 @@ description - +{% if condition.id_ %} [history]{% endif %} + +enables + +{% for process in enabled_processes %} +{{process.title.newest|e}}
+{% endfor %} + + + + +disables + +{% for process in disabled_processes %} +{{process.title.newest|e}}
+{% endfor %} + + + + +enabled by + +{% for process in enabling_processes %} +{{process.title.newest|e}}
+{% endfor %} + + + + +disabled by + +{% for process in disabling_processes %} +{{process.title.newest|e}}
+{% endfor %} + + + - -
- -
+{{ macros.edit_buttons() }} {% endblock %}