{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load i18n %} {% block content %}

{% trans "Event Rule" %}

{% trans "Name" %} {{ object.name }}
{% trans "Enabled" %} {% checkmark object.enabled %}
{% trans "Description" %} {{ object.description|placeholder }}

{% trans "Object Types" %}

{% for object_type in object.object_types.all %} {% endfor %}
{{ object_type }}

{% trans "Event Types" %}

    {% for name, event in registry.event_types.items %}
  • {% if name in object.event_types %} {% checkmark True %} {% else %} {{ ''|placeholder }} {% endif %}
    {{ event }}
  • {% endfor %}
{% plugin_left_page object %}

{% trans "Conditions" %}

{% if object.conditions %}
{{ object.conditions|json }}
{% else %}

{% trans "None" %}

{% endif %}

{% trans "Action" %}

{% trans "Type" %} {{ object.get_action_type_display }}
{% trans "Object" %} {{ object.action_object|linkify }}
{% trans "Data" %} {% if object.action_data %}
{{ object.action_data|json }}
{% else %} {{ ''|placeholder }} {% endif %}
{% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/tags.html' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}