1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #12776: Utilize the htmx_table tag for all embedded object tables

This commit is contained in:
Jeremy Stretch
2024-01-30 15:21:44 -05:00
parent b554e70eda
commit 780ce77aed
27 changed files with 36 additions and 140 deletions

View File

@@ -112,10 +112,7 @@
<div class="col col-md-12">
<div class="card">
<h5 class="card-header">{% trans "Files" %}</h5>
<div class="card-body htmx-container table-responsive p-0"
hx-get="{% url 'core:datafile_list' %}?source_id={{ object.pk }}"
hx-trigger="load"
></div>
{% htmx_table 'core:datafile_list' source_id=object.pk %}
</div>
{% plugin_full_width_page object %}
</div>