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=6b28a525112ada4d9f8c33a62d77353a83df40a2;hb=c64a6dcd83cd13f5cc534325feac0554cf289a81;hp=a0a9f45c54c3372bad772c1a67f33ba699e1630d;hpb=23012cd370777b60a25839788d131173d2abee91;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index a0a9f45..6b28a52 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -1,15 +1,65 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} + + {% block content %}

condition

-title: -description: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
- -
+ + + + +
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 %}