{% if rprl.end_of_life %}
{% endif %}
{% trans 'ERL Active option' %}{% trans 'ERL Inactive option' %}
{% if rprl.comment %}{{ rprl.comment }}{% endif %}
{% if rprl.domain %}{{ rprl.domain.0.1 }}{% if rprl.domain|length > 1 %}+{{ rprl.domain|length|add:"-1" }}{% endif %}{% endif %}
{% with url_total=rprl.url|length url_x_total=rprl.url_x|length %}{% if rprl.url or rprl.url_x %}{% if rprl.url %}{{ rprl.url.0.1 }}{% else %}{{ rprl.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_rprl.html' %}
{% include 'my_waf/delete_rprl.html' %}
{% if rprl.wl_data %}
{% trans 'ERL Signature params block title' %}:
{% for sig in rprl.wl_data %}
{% for sig_id, zones in sig.items %}
{% trans 'ERL WL data table header' %}:{{ sig_id }}
{% trans 'ERL Zones label' %}:{% with zones_clean=zones|without_nomla %}{{ zones_clean|slice:":3"|join:", " }}{% if zones_clean|length > 3 %}, {{ zones_clean|slice:"3:"|join:", " }}{% endif %}{% endwith %}
{% with zones_clean=zones|without_nomla %}
{% if zones_clean|length > 3 %}
{% endif %}
{% endwith %}
{% trans 'ERL No MLA label' %}:{% if zones|is_nomla_signature %}{% trans 'Yes' %}{% else %}{% trans 'No' %}{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
{% trans 'ERL Request params block title' %}:
{% if rprl.domain %}
{% trans 'RPRL Domain table header' %}:
{% for el in rprl.domain %}{% if el.0 and el.0 != " " %}{{ el.0 }} {% endif %}{{ el.1 }}{% if not forloop.last %} {% endif %}{% endfor %}
{% endif %}
{% if rprl.port %}
{% trans 'RPRL Port table header' %}:
{% for el in rprl.port %}{% if el.0 and el.0 != " " %}{{ el.0 }} {% endif %}{{ el.1 }}{% if not forloop.last %} {% endif %}{% endfor %}
{% endif %}
{% if rprl.url or rprl.url_x %}
{% trans 'RPRL URL table header' %}:
{% for el in rprl.url %}{% if el.0 and el.0 != " " %}{{ el.0 }} {% endif %}{{ el.1 }}{% if not forloop.last %} {% endif %}{% endfor %}{% for el in rprl.url_x %}{% if el.0 and el.0 != " " %}{{ el.0 }} {% endif %}{{ el.1 }}{% if not forloop.last %} {% endif %}{% endfor %}
{% endif %}
{% if rprl.pattern or rprl.pattern_x %}
{% trans 'RPRL Pattern table header' %}:
{% endif %}
{% trans 'ERL Additional options block title' %}:
{% trans 'ERL NoBan option' %}:{% if rprl.noban == 'True' %}{% trans 'Yes' %}{% else %}{% trans 'No' %}{% endif %}
{% trans 'ERL API option' %}:{% if rprl.api == 'True' %}{% trans 'Yes' %}{% else %}{% trans 'No' %}{% endif %}
{% trans 'ERL LM option' %}:{% if rprl.lm == 'True' %}{% trans 'Yes' %}{% else %}{% trans 'No' %}{% endif %}
{% if rprl.ip %}
{% trans 'ERL Request source block title' %}:
IP:
{% for el in rprl.ip %}{% if el.0 and el.0 != " " %}{{ el.0 }} {% endif %}{{ el.1 }}{% if not forloop.last %}{% if forloop.counter|divisibleby:3 %} {% else %} {% endif %}{% endif %}{% endfor %}
{% if rprl.ip|length > 6 %}{% endif %}