{% load i18n %} {% load waf_utils %}
{% trans 'ERL ID table header' %}
{% trans 'ERL Status column header' %}
{% trans 'ERL Rule Comment block' %}
{% trans 'ERL Domain table header' %}
{% trans 'ERL URL table header' %}
{% trans 'ERL Actions table header' %}
{% for erl in key.get_erl %}
{% if erl.wl == 'True' %} {% else %} {% endif %} {{ erl.id }}
{% if erl.end_of_life %} {% endif %} {% trans 'ERL Active option' %} {% trans 'ERL Inactive option' %}
{% if erl.comment %}{{ erl.comment }}{% endif %}
{% if erl.domain %}{{ erl.domain.0.1 }}{% if erl.domain|length > 1 %}+{{ erl.domain|length|add:"-1" }}{% endif %}{% endif %}
{% with url_total=erl.url|length url_x_total=erl.url_x|length %}{% if erl.url or erl.url_x %}{% if erl.url %}{{ erl.url.0.1 }}{% else %}{{ erl.url_x.0.1 }}{% endif %}{% if url_total|add:url_x_total > 1 %}+{{ url_total|add:url_x_total|add:"-1" }}{% endif %}{% endif %}{% endwith %}
{% include 'my_waf/edit_erl.html' %} {% include 'my_waf/delete_erl.html' %}
{% empty %}
{% trans 'ERL Empty list' %}
{% endfor %}