diff --git a/netbox/templates/inc/paginator_htmx.html b/netbox/templates/inc/paginator_htmx.html index c3b50cbd4..75a904a15 100644 --- a/netbox/templates/inc/paginator_htmx.html +++ b/netbox/templates/inc/paginator_htmx.html @@ -5,13 +5,23 @@ {% if paginator.num_pages > 1 %}
{% if page.has_previous %} - + {% endif %} {% for p in page.smart_pages %} {% if p %} - + {{ p }} {% else %} @@ -21,7 +31,12 @@ {% endif %} {% endfor %} {% if page.has_next %} - + {% endif %} @@ -35,7 +50,14 @@
diff --git a/netbox/templates/inc/table_htmx.html b/netbox/templates/inc/table_htmx.html index 58b5e7294..7a20debae 100644 --- a/netbox/templates/inc/table_htmx.html +++ b/netbox/templates/inc/table_htmx.html @@ -6,7 +6,13 @@ {% for column in table.columns %} {% if column.orderable %} - {{ column.header }} + + {{ column.header }} + {% else %} {{ column.header }} {% endif %}