{% extends 'ipam/vlan/base.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% load plugins %} {% load i18n %} {% load mptt %} {% block content %}
{% trans "VLAN" %}
{% if object.site.region %} {% endif %}
{% trans "Region" %} {% nested_tree object.site.region %}
{% trans "Site" %} {{ object.site|linkify|placeholder }}
{% trans "Group" %} {{ object.group|linkify|placeholder }}
{% trans "VLAN ID" %} {{ object.vid }}
{% trans "Name" %} {{ object.name }}
{% trans "Tenant" %} {% if object.tenant.group %} {{ object.tenant.group|linkify }} / {% endif %} {{ object.tenant|linkify|placeholder }}
{% trans "Status" %} {% badge object.get_status_display bg_color=object.get_status_color %}
{% trans "Role" %} {% if object.role %} {{ object.role }} {% else %} {{ ''|placeholder }} {% endif %}
{% trans "Description" %} {{ object.description|placeholder }}
{% trans "L2VPN" %} {{ object.l2vpn_termination.l2vpn|linkify|placeholder }}
{% plugin_left_page object %}
{% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %} {% plugin_right_page object %}
{% trans "Prefixes" %} {% if perms.ipam.add_prefix %} {% endif %}
{% htmx_table 'ipam:prefix_list' vlan_id=object.pk %}
{% plugin_full_width_page object %}
{% endblock %}