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

{% trans "Service rule" %}

{% trans "Service" %}{{ object.service|linkify }}
{% trans "Template" %}{{ object.template|linkify|placeholder }}
{% trans "Description" %}{{ object.description|placeholder }}
{% trans "Device roles" %}{% for role in object.device_roles.all %}{{ role|linkify }}{% if not forloop.last %}, {% endif %}{% empty %}{% trans "any" %}{% endfor %}
{% trans "Device types" %}{% for dt in object.device_types.all %}{{ dt|linkify }}{% if not forloop.last %}, {% endif %}{% empty %}{% trans "any" %}{% endfor %}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/custom_fields.html' %}

{% trans "Template configuration" %}

{{ object.template.configuration|default:"" }}
{% endblock %}