projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
788c34a
)
more info cleanup
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 5 Apr 2010 17:31:17 +0000
(19:31 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 5 Apr 2010 17:31:17 +0000
(19:31 +0200)
templates/data/table.html.ep
patch
|
blob
|
history
diff --git
a/templates/data/table.html.ep
b/templates/data/table.html.ep
index
ef3917a
..
d72bbec
100644
(file)
--- a/
templates/data/table.html.ep
+++ b/
templates/data/table.html.ep
@@
-23,11
+23,12
@@
div.filters:hover ul {
% my $filters = session('filters');
% my @filters_active = keys %$filters;
% if ( @filters_active ) {
-filter
<span class=count><%= $#filters_active + 1 %></span>
+filter
% foreach my $n ( @filters_active ) {
<a href="<%= url_for( action => 'facet' )->query( remove => $n ) %>"
title="<%= join(', ', @{ $filters->{$n} }) %>"><%= $n %></a>
% }
+<span class=count><%= $#filters_active + 1 %> active click to remove</span>
% }
showing <%= $offset + 1 %>-<%= $offset + $limit %>