Fix dashboard object list widget

This commit is contained in:
Jeremy Stretch 2024-02-14 15:39:47 -05:00
parent a742f2ebfd
commit 4f3f2142f4

View File

@ -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" %}.