|
@@ -1,5 +1,6 @@
|
|
|
{# Render an HTMX-enabled table with paginator #}
|
|
{# Render an HTMX-enabled table with paginator #}
|
|
|
{% load helpers %}
|
|
{% load helpers %}
|
|
|
|
|
+{% load i18n %}
|
|
|
{% load buttons %}
|
|
{% load buttons %}
|
|
|
{% load render_table from django_tables2 %}
|
|
{% load render_table from django_tables2 %}
|
|
|
|
|
|
|
@@ -23,7 +24,7 @@
|
|
|
|
|
|
|
|
{# Include the updated "save" link for the table configuration #}
|
|
{# Include the updated "save" link for the table configuration #}
|
|
|
{% if table.config_params and not table.embedded %}
|
|
{% if table.config_params and not table.embedded %}
|
|
|
- <a class="dropdown-item" hx-swap-oob="outerHTML:#table_save_link" href="{% url 'extras:tableconfig_add' %}?{{ table.config_params }}&return_url={{ request.path }}" id="table_save_link">Save</a>
|
|
|
|
|
|
|
+ <a class="dropdown-item" hx-swap-oob="outerHTML:#table_save_link" href="{% url 'extras:tableconfig_add' %}?{{ table.config_params }}&return_url={{ request.path }}" id="table_save_link">{% trans "Save" %}</a>
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
|
|
|
|
{# Update the bulk action buttons with new query parameters #}
|
|
{# Update the bulk action buttons with new query parameters #}
|