{% 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 %} {% for item in object_list %} {% endfor %}
id user name interval window priority topic enabled data length match actions
{{ 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 %} {{ item.data|length }} {{ item.matches }}
{% endcache %}