mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 13:08:16 -06:00
Fix dashboard object list widget
This commit is contained in:
parent
a742f2ebfd
commit
4f3f2142f4
@ -1,6 +1,6 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% if htmx_url and has_permission %}
|
{% if htmx_url and has_permission %}
|
||||||
<div class="htmx-container" hx-get="{{ htmx_url }}" hx-trigger="load"></div>
|
<div class="htmx-container" hx-get="{{ htmx_url }}" hx-trigger="load" hx-target="this" hx-select="table" hx-swap="innerHTML"></div>
|
||||||
{% elif htmx_url %}
|
{% elif htmx_url %}
|
||||||
<div class="text-muted text-center">
|
<div class="text-muted text-center">
|
||||||
<i class="mdi mdi-lock-outline"></i> {% trans "No permission to view this content" %}.
|
<i class="mdi mdi-lock-outline"></i> {% trans "No permission to view this content" %}.
|
||||||
|
Loading…
Reference in New Issue
Block a user