{% load i18n %} {% for erl in key.get_erl %} {% endfor %}
{% trans 'ERL ID table header' %} {% trans 'ERL Active option' %} {% trans 'ERL Options table header' %} {% trans 'ERL Domain table header' %} {% trans 'ERL URL table header' %} {% trans 'ERL ARGS table header' %} {% trans 'ERL Body table header' %} {% trans 'ERL Cookie table header' %} {% trans 'ERL UA table header' %} {% trans 'ERL Referer table header' %} {% trans 'ERL Other Headers table header' %} {% trans 'ERL Actions table header' %}
{{ erl.id }}
A
M
N
CC
IP
{% for el in erl.domain %} {% if el.0 == '!' %} {% trans 'ERL not operator' %} {% elif el.0 == '|' %} {% trans 'ERL or operator' %} {% elif el.0 == '&' %} {% trans 'ERL and operator' %} {% elif el.0 == '|!' %} {% trans 'ERL nor operator' %} {% elif el.0 == '&!' %} {% trans 'ERL nand operator' %} {% endif %} {{ el.1 }} {% endfor %}
{% for el in erl.url %} {% if el.0 == '!' %} {% trans 'ERL not operator' %} {% elif el.0 == '|' %} {% trans 'ERL or operator' %} {% elif el.0 == '&' %} {% trans 'ERL and operator' %} {% elif el.0 == '|!' %} {% trans 'ERL nor operator' %} {% elif el.0 == '&!' %} {% trans 'ERL nand operator' %} {% endif %} {{ el.1 }} {% endfor %}
{% for el in erl.args %} {% if el.0 == '!' %} {% trans 'ERL not operator' %} {% elif el.0 == '|' %} {% trans 'ERL or operator' %} {% elif el.0 == '&' %} {% trans 'ERL and operator' %} {% elif el.0 == '|!' %} {% trans 'ERL nor operator' %} {% elif el.0 == '&!' %} {% trans 'ERL nand operator' %} {% endif %} {{ el.1 }} {% endfor %}
{% for el in erl.body %} {% if el.0 == '!' %} {% trans 'ERL not operator' %} {% elif el.0 == '|' %} {% trans 'ERL or operator' %} {% elif el.0 == '&' %} {% trans 'ERL and operator' %} {% elif el.0 == '|!' %} {% trans 'ERL nor operator' %} {% elif el.0 == '&!' %} {% trans 'ERL nand operator' %} {% endif %} {{ el.1 }} {% endfor %}
{% for el in erl.ua %} {% if el.0 == '!' %} {% trans 'ERL not operator' %} {% elif el.0 == '|' %} {% trans 'ERL or operator' %} {% elif el.0 == '&' %} {% trans 'ERL and operator' %} {% elif el.0 == '|!' %} {% trans 'ERL nor operator' %} {% elif el.0 == '&!' %} {% trans 'ERL nand operator' %} {% endif %} {{ el.1 }} {% endfor %}
{% for el in erl.referer %} {% if el.0 == '!' %} {% trans 'ERL not operator' %} {% elif el.0 == '|' %} {% trans 'ERL or operator' %} {% elif el.0 == '&' %} {% trans 'ERL and operator' %} {% elif el.0 == '|!' %} {% trans 'ERL nor operator' %} {% elif el.0 == '&!' %} {% trans 'ERL nand operator' %} {% endif %} {{ el.1 }} {% endfor %}
{% for el in erl.other_headers %} {% if '!!' in el.key %}{% trans 'ERL not operator' %}{% endif %} {% if '!!' in el.key %}{{ el.key|slice:"2:" }}{% else %}{{ el.key }}{% endif %}: {% if el.value|length > 0 %} {% for val in el.value %} {% if val.0 == '!' %} {% trans 'ERL not operator' %} {% elif val.0 == '|' %} {% trans 'ERL or operator' %} {% elif val.0 == '&' %} {% trans 'ERL and operator' %} {% elif val.0 == '|!' %} {% trans 'ERL nor operator' %} {% elif val.0 == '&!' %} {% trans 'ERL nand operator' %} {% endif %} {{ val.1 }} {% endfor %} {% endif %} {% endfor %}
{% include 'my_waf/edit_erl.html' %} {% include 'my_waf/delete_erl.html' %}