projects
/
MojoFacets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small circular points
[MojoFacets.git]
/
templates
/
sorting.html.ep
diff --git
a/templates/sorting.html.ep
b/templates/sorting.html.ep
index
c3901d1
..
6b30f7b
100644
(file)
--- a/
templates/sorting.html.ep
+++ b/
templates/sorting.html.ep
@@
-1,4
+1,6
@@
+<span class=sort-by>
+
sort:
% if ( $sort eq 'c' ) {
sort:
% if ( $sort eq 'c' ) {
@@
-21,5
+23,11
@@
value:
<a href="<%= url_for->query( name => $name, sort => 'd' ) %>">desceding</a>
% }
<a href="<%= url_for->query( name => $name, sort => 'd' ) %>">desceding</a>
% }
-<%= $numeric ? 'numeric' : '' %>
+% if ( $numeric && $sort =~ m/^[ad]$/ ) {
+<span id=numeric>numeric</span><!-- hint to facet_graph.js -->
+% } elsif ( $numeric ) {
+numeric
+% }
+
+</span>