netbox-community/netbox#7229: Fix context of VLAN table in VLAN Group view

This commit is contained in:
Rhys Barrie 2021-11-13 23:08:46 -05:00
parent 0d7eaace0e
commit 43197dde8c

View File

@ -1,6 +1,7 @@
{% extends 'generic/object.html' %} {% extends 'generic/object.html' %}
{% load helpers %} {% load helpers %}
{% load plugins %} {% load plugins %}
{% load render_table from django_tables2 %}
{% block breadcrumbs %} {% block breadcrumbs %}
{{ block.super }} {{ block.super }}
@ -68,7 +69,7 @@
VLANs VLANs
</h5> </h5>
<div class="card-body"> <div class="card-body">
{% include 'inc/table.html' with table=vlans_table %} {% render_table vlans_table 'inc/table.html' %}
</div> </div>
{% if perms.ipam.add_vlan %} {% if perms.ipam.add_vlan %}
<div class="card-footer text-end noprint"> <div class="card-footer text-end noprint">