{% load cache %} {% load cachalot cache %} {% get_last_invalidation 'core.NotificationRule' as last %} {% include 'mixins/partials/notify.html' %} {% cache 600 objects_rules request.user.id object_list last %}
id | user | name | interval | window | priority | topic | enabled | ingest | data length | match | actions | {% for item in object_list %}
---|---|---|---|---|---|---|---|---|---|---|---|
{{ item.id }} | {{ item.user }} | {{ item.name }} | {{ item.interval }}s | {{ item.window|default_if_none:"—" }} | {{ item.priority }} | {{ item.topic|default_if_none:"—" }} | {% if item.enabled %} {% else %} {% endif %} | {% if item.ingest %} {% else %} {% endif %} | {{ item.data|length }} | {{ item.matches }} |