Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit 733cac3

Browse files
author
Thiago C. D'Ávila
authored
Merge pull request #87 from jayhardee9/fix-sort-th-frag
Fix sort th frag
2 parents c8e1a8a + 289124d commit 733cac3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{% load i18n %}
22
<th scope="col" class="{{ class_attrib }}">
33
{% if sorted_fields %}
4-
<div class="sortoptions">
5-
<a href="{{ url }}" class="toggle glyphicon {% if ascending
6-
%}glyphicon-chevron-up{% else %}glyphicon-chevron-down{% endif %}" title="{%
7-
trans "Toggle sorting" %}"/>
8-
</div>
4+
<div class="sortoptions">
5+
<a href="{{ url }}"
6+
class="toggle glyphicon glyphicon-chevron-{% if ascending %}up{% else %}down{% endif %}"
7+
title="{% trans 'Toggle sorting' %}"/>
8+
</div>
99
{% endif %}
1010
<div class="text">
1111
<a href="{{ url }}">{{ text }}</a>

0 commit comments

Comments
 (0)