1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #2795: Fix duplicate display of pagination controls on child prefix/IP tables

This commit is contained in:
Jeremy Stretch
2019-01-23 13:38:16 -05:00
parent 4227c6b806
commit 22eebbbc71
4 changed files with 3 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
<div class="col-md-10">
{% for obj_type in results %}
<h3 id="{{ obj_type.name|lower }}">{{ obj_type.name|bettertitle }}</h3>
{% include 'panel_table.html' with table=obj_type.table hide_paginator=True %}
{% include 'panel_table.html' with table=obj_type.table %}
<a href="{{ obj_type.url }}" class="btn btn-primary pull-right">
<span class="fa fa-arrow-right" aria-hidden="true"></span>
{% if obj_type.table.page.has_next %}