You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dje/templates/includes/object_list_table_header.html
+5-3
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
{% load i18n %}
2
+
{% spaceless %}
2
3
<theadclass="text-break-initial">
3
4
<tr>
4
5
{% if is_grouping_active %}
@@ -27,10 +28,10 @@
27
28
{% with query_no_sort=filter.get_query_no_sort %}
28
29
{% if filter.form.sort.data and header.field_name in filter.form.sort.data.0 %}
29
30
{# The sort for this field is currently active #}
30
-
<ahref="?{% if query_no_sort %}{{ query_no_sort }}&{% endif %}{% if tab_id %}{{ tab_id }}-{% endif %}sort={% if '-' not in filter.form.sort.data.0 %}-{% endif %}{{ header.field_name }}{% if tab_id %}#{{ tab_id }}{% endif %}" class="sort active" aria-label="Sort"><iclass="fas fa-sort-{% if '-' not in filter.form.sort.data.0 %}up{% else %}down{% endif %}"></i></a>
31
+
<ahref="?{% if query_no_sort %}{{ query_no_sort }}&{% endif %}{% if tab_id %}{{ tab_id }}-{% endif %}sort={% if '-' not in filter.form.sort.data.0 %}-{% endif %}{{ header.field_name }}{% if tab_id %}#{{ tab_id }}{% endif %}" class="sort active ms-1" aria-label="Sort"><iclass="fas fa-sort-{% if '-' not in filter.form.sort.data.0 %}up{% else %}down{% endif %}"></i></a>
31
32
{% else %}
32
33
{# The sort for this field is NOT active #}
33
-
<ahref="?{% if query_no_sort %}{{ query_no_sort }}&{% endif %}{% if tab_id %}{{ tab_id }}-{% endif %}sort={{ header.field_name }}{% if tab_id %}#{{ tab_id }}{% endif %}" class="sort" aria-label="Sort"><iclass="fas fa-sort"></i></a>
34
+
<ahref="?{% if query_no_sort %}{{ query_no_sort }}&{% endif %}{% if tab_id %}{{ tab_id }}-{% endif %}sort={{ header.field_name }}{% if tab_id %}#{{ tab_id }}{% endif %}" class="sort ms-1" aria-label="Sort"><iclass="fas fa-sort"></i></a>
0 commit comments