From 017d1532b162e5207ecf6017311c355ca20a4bb6 Mon Sep 17 00:00:00 2001 From: Jerry Hardee Date: Wed, 17 Jun 2020 12:52:45 -0400 Subject: [PATCH 1/4] Fix string in sort_th_frag --- .../templates/sorting_bootstrap/sort_th_frag.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html b/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html index 34c587c..ae39eea 100644 --- a/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html +++ b/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html @@ -4,7 +4,7 @@
+ trans 'Toggle sorting' %}"/>
{% endif %}
From c407d3f505f35a2bc95756b3e8a77fc240a954df Mon Sep 17 00:00:00 2001 From: Jerry Hardee Date: Wed, 17 Jun 2020 13:20:38 -0400 Subject: [PATCH 2/4] Maybe needs indenting? --- .../templates/sorting_bootstrap/sort_th_frag.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html b/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html index ae39eea..73b07b1 100644 --- a/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html +++ b/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html @@ -1,11 +1,11 @@ {% load i18n %} {% if sorted_fields %} - + {% endif %}
{{ text }} From 54132eda96f9893c79a51716364f3fdea0f63822 Mon Sep 17 00:00:00 2001 From: Jerry Hardee Date: Wed, 17 Jun 2020 16:03:26 -0400 Subject: [PATCH 3/4] Maybe we shouldn't break the tags --- .../templates/sorting_bootstrap/sort_th_frag.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html b/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html index 73b07b1..aa112ec 100644 --- a/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html +++ b/src/django_sorting_bootstrap/templates/sorting_bootstrap/sort_th_frag.html @@ -2,9 +2,7 @@ {% if sorted_fields %} {% endif %}