diff --git a/netbox/templates/extras/htmx/script_result.html b/netbox/templates/extras/htmx/script_result.html index 3fe03bbe72a..49879e6a530 100644 --- a/netbox/templates/extras/htmx/script_result.html +++ b/netbox/templates/extras/htmx/script_result.html @@ -41,7 +41,7 @@
{% trans "Test Summary" %}
{% trans "Log" %}
- {% include 'htmx/table.html' %} + {% include 'htmx/table.html' with no_htmx_container=True%}
{% endif %} diff --git a/netbox/templates/htmx/table.html b/netbox/templates/htmx/table.html index f93c86a348b..86d9d4cb75e 100644 --- a/netbox/templates/htmx/table.html +++ b/netbox/templates/htmx/table.html @@ -2,7 +2,7 @@ {% load helpers %} {% load render_table from django_tables2 %} -
+
{% with preferences|get_key:"pagination.placement" as paginator_placement %} {% if paginator_placement == 'top' or paginator_placement == 'both' %} {% include 'inc/paginator.html' with htmx=True table=table paginator=table.paginator page=table.page placement='top' %}