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%2Fcondition.html;h=7142363b3f2e24b45ed2d250d2e4144bf8406ef0;hb=11546273042d33ef8557d28c8e19e954591d6ed9;hp=324c8f8a0efe9c6c05dba0307fd682807983bcdf;hpb=63073c2c05785d2b5539780dd5bc40adff57aab1;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index 324c8f8..7142363 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -4,62 +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}}
+{{process.title.newest|e}}
{% endfor %}
disables {% for process in disabled_processes %} -{{process.title.newest|e}}
+{{process.title.newest|e}}
{% endfor %}
enabled by {% for process in enabling_processes %} -{{process.title.newest|e}}
+{{process.title.newest|e}}
{% endfor %}
disabled by {% for process in disabling_processes %} -{{process.title.newest|e}}
+{{process.title.newest|e}}
{% endfor %}
+ {{ macros.edit_buttons() }} {% endblock %}