small circular points
[MojoFacets.git] / templates / sorting.html.ep
1
2 <span class=sort-by>
3
4 sort:
5
6 % if ( $sort eq 'c' ) {
7 <b>count</b>
8 % } else {
9 <a href="<%= url_for->query( name => $name, sort => 'c' ) %>">count</a>
10 % }
11
12 value:
13
14 % if ( $sort eq 'a' ) {
15 <b>ascending</b>
16 % } else {
17 <a href="<%= url_for->query( name => $name, sort => 'a' ) %>">asceding</a>
18 % }
19
20 % if ( $sort eq 'd' ) {
21 <b>desceding</b>
22 % } else {
23 <a href="<%= url_for->query( name => $name, sort => 'd' ) %>">desceding</a>
24 % }
25
26 % if ( $numeric && $sort =~ m/^[ad]$/ ) {
27 <span id=numeric>numeric</span><!-- hint to facet_graph.js -->
28 % } elsif ( $numeric ) {
29 numeric
30 % }
31
32 </span>
33