Old version, can not be edited
Conditions
{% for outer in
range(aups_dict.enabled[ent_i].conditions|length) %} {% for
inner in
range(aups_dict.enabled[ent_i].conditions[outer]|length) %}
{% if inner == 0 and
aups_dict.enabled[ent_i].conditions|length != 1 %} ( {%
endif %} {{
aups_dict.enabled[ent_i].conditions[outer][inner].type }}
{{ aups_dict.enabled[ent_i].conditions[outer][inner].name
}} {% if inner ==
(aups_dict.enabled[ent_i].conditions[outer]|length - 1)
and aups_dict.enabled[ent_i].conditions|length != 1 %} )
{% endif %}
{% if inner <
(aups_dict.enabled[ent_i].conditions[outer]|length - 1) %}
AND
{% endif %} {% endfor %} {% if outer <
(aups_dict.enabled[ent_i].conditions|length - 1) %}
OR
{% endif %} {% endfor %}
Content
{{ aups_dict.enabled[ent_i].html|safe }}