{% extends 'generic/object.html' %} {% load i18n %} {% load helpers %} {% load plugins %} {% load render_table from django_tables2 %} {% block content %}
{% trans "Custom Prefix" %}
{% if object.description %} {% endif %} {% if object.tenant %} {% endif %}
{% trans "Prefix" %} {{ object.prefix }}
{% trans "Description" %} {{ object.description|placeholder }}
{% trans "Tenant" %} {% if object.tenant.group %} {{ object.tenant.group|linkify }} / {% endif %} {{ object.tenant|linkify|placeholder }}
{% if address_assignments_table.rows|length == 1 %}

{% trans "Address Assignment" %}

{% else %}

{% trans "Address Assignments" %}

{% endif %}
{% render_table address_assignments_table 'inc/table.html' %}

{% trans "Security Policy Context" %}

{% if policy_context.policy_paths %} {% for row in policy_context.policy_paths %} {% endfor %}
{% trans "Security Policy" %} {% trans "Policy Actions" %} {% trans "Direction" %} {% trans "Security Zones" %}
{{ row.policy|linkify }} {% for action in row.policy_actions %} {{ action }} {% endfor %} {{ row.direction }} {{ row.source_zone|linkify }} → {{ row.destination_zone|linkify }}
{% if policy_context.address_set_object_paths %}

{% trans "Address Set Hierarchy" %}

{% for path in policy_context.address_set_object_paths %}
{% for address_set in path %} {% if not forloop.first %} → {% endif %} {{ address_set|linkify }} {% endfor %}
{% endfor %} {% endif %} {% else %} {% trans "No policy context found for this object." %} {% endif %}
{% include 'inc/panels/custom_fields.html' %} {% plugin_left_page object %}
{% include 'inc/panels/comments.html' %} {% include 'inc/panels/tags.html' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}