mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-25 10:18:56 +02:00
Fixes #1187: Fixed table pagination by introducing a custom table template
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{% extends '_base.html' %}
|
||||
{% load render_table from django_tables2 %}
|
||||
|
||||
{% block title %}VLAN {{ vlan.display_name }}{% endblock %}
|
||||
|
||||
@@ -136,7 +135,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Prefixes</strong>
|
||||
</div>
|
||||
{% render_table prefix_table %}
|
||||
{% include 'responsive_table.html' with table=prefix_table %}
|
||||
{% if perms.ipam.add_prefix %}
|
||||
<div class="panel-footer text-right">
|
||||
<a href="{% url 'ipam:prefix_add' %}?{% if vlan.tenant %}tenant={{ vlan.tenant.pk }}&{% endif %}site={{ vlan.site.pk }}&vlan={{ vlan.pk }}" class="btn btn-primary btn-xs">
|
||||
|
||||
Reference in New Issue
Block a user