X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=templates%2Fcondition.html;h=92f04eb9688c2aad9992d810778f3780fad8d542;hb=HEAD;hp=1fc5902025c7cc21a04a656880a973ed5b6ed312;hpb=53f151ef577dd8115e72d38a8991ad77c75f7e59;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index 1fc5902..7142363 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -4,26 +4,62 @@ {% block content %} -

condition

+

+{% if is_new %} +add NEW condition +{% else %} +edit condition of ID {{condition.id_}} +{% endif %} +

- +
- + - - - + + + + + + + + + + + + + + + +
title{% if condition.id_ %} [history]{% endif %}{% if condition.id_ %} [history]{% endif %}
is active
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 %}