mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-19 10:08:44 -06: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 %}{{ prefix }}{% endblock %}
|
||||
|
||||
@@ -134,13 +133,9 @@
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
{% if duplicate_prefix_table.rows %}
|
||||
{% with heading='Duplicate Prefixes' panel_class='danger' %}
|
||||
{% render_table duplicate_prefix_table 'panel_table.html' %}
|
||||
{% endwith %}
|
||||
{% include 'panel_table.html' with table=duplicate_prefix_table heading='Duplicate Prefixes' panel_class='danger' %}
|
||||
{% endif %}
|
||||
{% with heading='Parent Prefixes' %}
|
||||
{% render_table parent_prefix_table 'panel_table.html' %}
|
||||
{% endwith %}
|
||||
{% include 'panel_table.html' with table=parent_prefix_table heading='Parent Prefixes' %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user