X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/copy_free?a=blobdiff_plain;f=templates%2Fcondition.html;h=8deb71cbf4dac93d837fb3cd51c8fd3b6b4cce6d;hb=8b606f7c555c250f0d5ab8314aa95ce7efda07c7;hp=8e73e5ee5ec712f566271dc2ab8eb8347042048a;hpb=2ca0045683f74254fd0e248c2567fa2efa358c08;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index 8e73e5e..8deb71c 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -3,14 +3,22 @@ +{% block css %} +input[name="title"] { + width: 100em; +} +{% endblock %} + + + {% block content %} -

condition

+

{% if is_new %}NEW {% endif %}condition

- + @@ -20,9 +28,45 @@ - + + + + + + + + + + + + + + + + + + + + +
title{% if condition.id_ %} [history]{% endif %}
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 %}