Skip to content

Commit

Permalink
avoid the usage of images for sorting order icons
Browse files Browse the repository at this point in the history
  • Loading branch information
gustafn committed Oct 22, 2022
1 parent a1849b5 commit 04510a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/lists/table-2third.adp
Expand Up @@ -105,10 +105,10 @@
<if @elements.orderby_url@ not nil>
<if @elements.ordering_p;literal@ true>
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@">@elements.label;noquote@</a>
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@"><if @elements.orderby_direction@ eq "desc"><img src="/resources/acs-templating/sort-descending.png" alt="#acs-templating.descending_order#" style="border:0;" width="10" height="10"></if><else><img src="/resources/acs-templating/sort-ascending.png" alt="#acs-templating.ascending_order#" style="border:0;" width="10" height="10"></else></a>
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@"><if @elements.orderby_direction@ eq "desc"><span title="#acs-templating.descending_order#">↓</span></if><else><span title="#acs-templating.ascending_order#">↑</span></else></a>
</if>
<else>
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@">@elements.label;noquote@</a> <img src="/resources/acs-templating/sort-neither.png" alt="#acs-templating.not_ordered#" style="border:0;" width="10" height="10">
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@">@elements.label;noquote@</a> <a href="@elements.orderby_url@"><span title="#acs-templating.not_ordered#">↑↓</span></a>
</else>
</if>
<else>
Expand Down
4 changes: 2 additions & 2 deletions resources/lists/table.adp
Expand Up @@ -104,10 +104,10 @@
<if @elements.orderby_url@ not nil>
<if @elements.ordering_p;literal@ true>
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@">@elements.label;noquote@</a>
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@"><if @elements.orderby_direction@ eq "desc"><img src="/resources/acs-templating/sort-descending.png" alt="#acs-templating.descending_order#" style="border:0;" width="10" height="10"></if><else><img src="/resources/acs-templating/sort-ascending.png" alt="#acs-templating.ascending_order#" style="border:0;" width="10" height="10"></else></a>
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@"><if @elements.orderby_direction@ eq "desc"><span title="#acs-templating.descending_order#">↓</span></if><else><span title="#acs-templating.ascending_order#">↑</span></else></a>
</if>
<else>
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@">@elements.label;noquote@</a> <img src="/resources/acs-templating/sort-neither.png" alt="#acs-templating.not_ordered#" style="border:0;" width="10" height="10">
<a href="@elements.orderby_url@" title="@elements.orderby_html_title@">@elements.label;noquote@</a> <a href="@elements.orderby_url@"><span title="#acs-templating.not_ordered#">↑↓</span></a>
</else>
</if>
<else>
Expand Down

0 comments on commit 04510a3

Please sign in to comment.