mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 05:21:55 -06:00
Fixes #17332: Restore pagination for object list dashboard widgets
This commit is contained in:
parent
8cc0616019
commit
5c33aa8bdd
@ -1,6 +1,6 @@
|
||||
{% load i18n %}
|
||||
{% if htmx_url and has_permission %}
|
||||
<div class="htmx-container" hx-get="{{ htmx_url }}" hx-trigger="load" hx-target="this" hx-select="table" hx-swap="innerHTML"></div>
|
||||
<div class="htmx-container" hx-get="{{ htmx_url }}" hx-trigger="load" hx-target="this" hx-swap="innerHTML"></div>
|
||||
{% elif htmx_url %}
|
||||
<div class="text-muted text-center">
|
||||
<i class="mdi mdi-lock-outline"></i> {% trans "No permission to view this content" %}.
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
{% block page %}
|
||||
{# Render the user's customized dashboard #}
|
||||
<div class="grid-stack m-2" id="dashboard">
|
||||
<div class="grid-stack m-2" id="dashboard" hx-disinherit="*">
|
||||
{% for widget in dashboard %}
|
||||
{% include 'extras/dashboard/widget.html' %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user