Commit 8bf1ac04 authored by Richard Mansfield's avatar Richard Mansfield Committed by Nigel McNie
Browse files

Sort direction icons

parent 55dadeda
......@@ -1572,3 +1572,9 @@ table#initials .initial-letters {
font-weight: bold;
}
table.tablerenderer th.asc {
background: #e5e8da url(../images/down.png) no-repeat right;
}
table.tablerenderer th.desc {
background: #e5e8da url(../images/up.png) no-repeat right;
}
......@@ -5,7 +5,7 @@
<tr>
<th></th>
{foreach from=$fieldnames item=f}
<th class="search-results-sort-column">{if $f == $sortby}{if $sortdir == 'asc'}&gt;{else}&lt;{/if} {/if}<a href="?{$params}&sortby={$f}&sortdir={if $f == $sortby && $sortdir == 'asc'}desc{else}asc{/if}">{str tag="$f"}</a></th>
<th class="search-results-sort-column{if $f == $sortby} {$sortdir}{/if}"><a href="?{$params}&sortby={$f}&sortdir={if $f == $sortby && $sortdir == 'asc'}desc{else}asc{/if}">{str tag="$f"}</a></th>
{/foreach}
<th></th>
</tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment