diff --git a/netbox/templates/htmx/table.html b/netbox/templates/htmx/table.html index 8d56a4427..1ad1a7bc1 100644 --- a/netbox/templates/htmx/table.html +++ b/netbox/templates/htmx/table.html @@ -4,10 +4,10 @@ {% with preferences|get_key:"pagination.placement" as paginator_placement %} {% if paginator_placement == 'top' or paginator_placement == 'both' %} - {% include 'inc/paginator_htmx.html' with table=table paginator=table.paginator page=table.page %} + {% include 'inc/paginator.html' with htmx=True table=table paginator=table.paginator page=table.page %} {% endif %} {% render_table table 'inc/table_htmx.html' %} {% if paginator_placement != 'top' %} - {% include 'inc/paginator_htmx.html' with table=table paginator=table.paginator page=table.page %} + {% include 'inc/paginator.html' with htmx=True table=table paginator=table.paginator page=table.page %} {% endif %} {% endwith %} diff --git a/netbox/templates/inc/paginator.html b/netbox/templates/inc/paginator.html index b3a9127c2..1d122cf7a 100644 --- a/netbox/templates/inc/paginator.html +++ b/netbox/templates/inc/paginator.html @@ -1,55 +1,115 @@ {% load helpers %} {% load i18n %} -