{% 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
P
T
{% 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.url_x %} {% 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.args_x %} {% 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.body_x %} {% 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 %}
{% if erl.no_ua == 'True' %}
{% trans 'No User-Agent' %}
{% else %} {% 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.ua_x %} {% 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 %} {% endif %}
{% if erl.no_referer == 'True' %}
{% trans 'No Referer' %}
{% else %} {% 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.referer_x %} {% 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 %} {% endif %}
{% 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 %} {% for el in erl.other_headers_x %} {% 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' %}