mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 08:38:16 -06:00
Add link text for 'clear' button on table column
This commit is contained in:
parent
bc0271f67e
commit
9aed5c5a04
@ -1,4 +1,5 @@
|
||||
{% load django_tables2 %}
|
||||
{% load i18n %}
|
||||
<table{% if table.attrs %} {{ table.attrs.as_html }}{% endif %} hx-disinherit="hx-target hx-select" hx-swap="outerHTML">
|
||||
{% if table.show_header %}
|
||||
<thead
|
||||
@ -14,6 +15,7 @@
|
||||
<a href="#"
|
||||
hx-get="{{ table.htmx_url }}{% querystring table.prefixed_order_by_field='' %}"
|
||||
class="text-danger"
|
||||
title="{% trans "Clear ordering" %}"
|
||||
><i class="mdi mdi-close"></i></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user