{% load i18n %} {% load helpers %} {% load plugins %}
{% trans "Security Policy" %}
{% trans "Name" %} {{ object.name }}
{% trans "Type" %} {{ object.get_rulebook_type_display }}
{% trans "Status" %} {% include "netbox_nsm/inc/rulebook_status_badge.html" with rulebook=object %}
{% trans "Parent rulebook" %} {{ object.parent|linkify|placeholder }}
{% trans "Platform" %} {{ object.platform|linkify|placeholder }}
{% trans "Management URL" %} {% if object.mgmt_url %} {{ object.mgmt_url }} {% else %} {{ ''|placeholder }} {% endif %}
{% trans "Description" %} {{ object.description|placeholder }}
{% trans "Rule Comment Template" %} {% if object.rule_comment_template %}
{{ object.rule_comment_template }}
{% else %} {{ ''|placeholder }} {% endif %}
{% trans "Assigned Objects" %} {% for assignment in assignments %} {% with obj=assignment.assigned_object %} {% if obj %} {{ obj }} {% endif %} {% endwith %} {% empty %} {{ ''|placeholder }} {% endfor %}
{% if not rulebook_readonly %} {% include 'inc/panels/custom_fields.html' %} {% endif %} {% if rulebook_readonly %}

{% trans "Tags" %}

{% trans "No tags assigned" %}
{% else %} {% include 'inc/panels/tags.html' %} {% endif %} {% include 'inc/panels/comments.html' %} {% plugin_left_page object %}
{% trans "Fields" %}
{% if not rulebook_readonly %} {% trans "Add Field" %} {% endif %}
{% if rulebook_fields %}
{% include "netbox_nsm/inc/rulebook_fields_table.html" with fields=rulebook_fields rulebook_readonly=rulebook_readonly %}
{% else %}

{% trans "Noch keine Fields konfiguriert." %} {% if not rulebook_readonly %} {% trans "Add now." %} {% endif %}

{% endif %}
{% plugin_right_page object %}
{% plugin_full_width_page object %}