{% extends "base.html" %} {% load i18n %} {% block extrahead %} {% if user.is_authenticated %} {% endif %} {% endblock %} {% block title %}{% trans "My rules" %}{% endblock %} {% block content %}

{% trans "My rules" %}

Add Rule


ACTIVESUSPENDEDERRORPENDING
{% comment %}{% endcomment %} {% for route in routes %} {% comment %}{% endcomment %} {% endfor %}
Id {% trans "Name" %} {% trans "Match" %} {% trans "Then" %} {% trans "Status" %}{% trans "Details" %}{% trans "Applier" %} {% trans "Expires" %} {% trans "Response" %} {% trans "Actions" %}
{{ route.pk }} {{ route.name }} {{ route.get_match|safe|escape }} {{route.get_then|safe|escape}} {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %}SUSPENDED{% else %}{% if route.status == 'OUTOFSYNC' %}ERROR{% else %}{{route.status}}{% endif %}{% endif %}{{ route.response }}{{ route.applier }} {{ route.expires }} {% if route.status == 'EXPIRED' %}Rule expired{% else %}{% if route.status == 'ADMININACTIVE' %}Suspended by administrator{% else %}{% if route.status == 'INACTIVE' %}Suspended by user{% else %}{{ route.response }}{% endif %}{% endif %}{% endif %} {% ifequal route.status 'ACTIVE' %} Edit {% else %} {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %} Reactivate {% else %} {% ifequal route.status 'OUTOFSYNC' %} ReSync {% else %} - {% endifequal %} {% endif %} {% endifequal %}

You are about to suspend rule

Suspending the rule will automatically remove the configuration from the network and mark this rule as inactive.

Are you sure you want to proceed?

{% include "poll.html" %}
{% endblock %}