projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ec580b
)
ul#facet, move count out of label
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 16 May 2010 21:32:19 +0000
(23:32 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 16 May 2010 21:32:19 +0000
(23:32 +0200)
templates/data/facet.html.ep
patch
|
blob
|
history
diff --git
a/templates/data/facet.html.ep
b/templates/data/facet.html.ep
index
cb27ac3
..
e0fb78b
100644
(file)
--- a/
templates/data/facet.html.ep
+++ b/
templates/data/facet.html.ep
@@
-10,14
+10,14
@@
<%= include 'sorting' %>
-<ul>
+<ul
id=facet
>
% foreach my $n ( @$facet_names ) {
<li>
<label>
<input type=checkbox name="filter_vals" value="<%= $n %>" <%= $checked->{$n} ? 'checked' : '' %>>
<%= $n %>
-<span class="count"><%= $facet->{$n} %></span>
</label>
+<span class="count"><%= $facet->{$n} %></span>
% }
</ul>
@@
-26,3
+26,4
@@
</form>
+<script type="text/javascript" src="/facet_graph.js"></script>