{% extends 'base.html' %} {% block title %} Create aup page {% endblock %} {% block content %}

List Of AUPs

BACK
{% for ent_i in range(aups_dict.enabled|length) %} {{ aups_dict.enabled[ent_i].name }} v{{ aups_dict.enabled[ent_i].version }}
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 }}
{% endfor %}
{% for ent_i in range(aups_dict.disabled|length) %} {{ aups_dict.disabled[ent_i].name }} v{{ aups_dict.disabled[ent_i].version }} {% endfor %}
{% endblock %}