Merge pull request #7828 from rhyser9/7229_bug_add_vlans_link

Fix #7229: Fix context of VLAN table in VLAN Group view
This commit is contained in:
Jeremy Stretch 2021-11-15 08:52:36 -05:00 committed by GitHub
commit 496cabcc53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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