From 5c33aa8bddb15d6958720501c32fce5c03f1f5a2 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 4 Sep 2024 15:53:44 -0400 Subject: [PATCH] Fixes #17332: Restore pagination for object list dashboard widgets --- netbox/templates/extras/dashboard/widgets/objectlist.html | 2 +- netbox/templates/home.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/templates/extras/dashboard/widgets/objectlist.html b/netbox/templates/extras/dashboard/widgets/objectlist.html index d543cd4c3..42a1f4e34 100644 --- a/netbox/templates/extras/dashboard/widgets/objectlist.html +++ b/netbox/templates/extras/dashboard/widgets/objectlist.html @@ -1,6 +1,6 @@ {% load i18n %} {% if htmx_url and has_permission %} -
+
{% elif htmx_url %}
{% trans "No permission to view this content" %}. diff --git a/netbox/templates/home.html b/netbox/templates/home.html index 121f84faf..b0cefdbeb 100644 --- a/netbox/templates/home.html +++ b/netbox/templates/home.html @@ -28,7 +28,7 @@ {% block page %} {# Render the user's customized dashboard #} -
+
{% for widget in dashboard %} {% include 'extras/dashboard/widget.html' %} {% endfor %}