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=b20b5fe04c3520264a4e4864769889b46b7d9227;hb=4c546e0133670dd10aec890c3cea6329c3a29663;hp=00aeedb6762f2d304b8784f116bce795ba350418;hpb=12be63c6ef58282cb6b7d5b7bc2eabe8946a1bfc;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index 00aeedb..b20b5fe 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -1,15 +1,16 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} {% block content %} -

condition

+

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

- + @@ -19,13 +20,46 @@ - + + + + + + + + + + + + + + + + + + + + +
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 %}