{% extends "base.html" %} {% load i18n %} {% block extrahead %} {% if user.is_authenticated %} {% endif %} {% endblock %} {% block title %}{% trans "My rules" %}{% endblock %} {% block content %}
ACTIVE | SUSPENDED | ERROR | PENDING |
---|---|---|---|
Id | {% trans "Name" %} | {% trans "Match" %} | {% trans "Then" %} | {% trans "Status" %} | {% comment %}{% trans "Details" %} | {% endcomment %}{% 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 %} | {% comment %}{{ route.response }} | {% endcomment %}{{ 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?