{% extends 'generic/object.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load i18n %} {% load plugins %} {% load render_table from django_tables2 %} {% load object_type %} {% block content %}
{% trans "Addresses" %}
{% if object.assigned_object %} {% get_related_object_type object.assigned_object as obj_type %} {% endif %} {% if object.dns_name %} {% endif %} {% if object.description %} {% endif %}
{% trans "Name" %} {{ object.name }}
{{ obj_type }} {{ object.assigned_object|linkify|placeholder }}
{% trans "DNS Name" %} {{ object.dns_name }}
{% trans "Description" %} {{ object.description|placeholder }}
{% trans "Parent Source Policies" %} {% for item in object.address_lists.all %} {% for child in item.securityzonepolicy_source_address.all %} {{ child|linkify|placeholder }}
{% endfor %} {% endfor %}
{% trans "Parent Destination Policies" %} {% for item in object.address_lists.all %} {% for child in item.securityzonepolicy_destination_address.all %} {{ child|linkify|placeholder }}
{% endfor %} {% endfor %}
{% trans "Parent Address Sets" %} {% for item in object.addressset_addresses.all %} {{ item|linkify|placeholder }}
{% endfor %}
{% trans "Assigned Objects" %}
{% render_table device_assignments_table 'inc/table.html' %}
{% render_table virtual_device_assignments_table 'inc/table.html' %}
{% render_table virtual_machine_assignments_table 'inc/table.html' %}
{% render_table zone_assignments_table 'inc/table.html' %}
{% 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 %}