X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Fcondition.html;h=dfdf6ef9ce376f8c231e4b33388102d6eb51d16c;hb=HEAD;hp=8e73e5ee5ec712f566271dc2ab8eb8347042048a;hpb=2ca0045683f74254fd0e248c2567fa2efa358c08;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index 8e73e5e..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 %}
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 %}