projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
400408f
)
Merge branch 'cols_changed-exact'
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 20 Jun 2010 16:53:52 +0000
(18:53 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 20 Jun 2010 16:53:52 +0000
(18:53 +0200)
templates/data/facet.html.ep
patch
|
blob
|
history
diff --git
a/templates/data/facet.html.ep
b/templates/data/facet.html.ep
index
514eadc
..
03f196c
100644
(file)
--- a/
templates/data/facet.html.ep
+++ b/
templates/data/facet.html.ep
@@
-41,12
+41,12
@@
First <a title="config MAX_FACETS" href="/config"><%= $max_facets %></a> shown
<li>
<label>
<input type=checkbox name="filter_vals" value="<%= $n %>" <%= $checked->{$n} && defined $facet->{$n} ? 'checked' : '' %>>
-<%= $n %>
-</label>
% if ( defined $facet->{$n} ) {
-<span style="color:white">;</span>
-<span class="count"><%= $facet->{$n} %></span>
+<%= $n %><span style="color:white">;</span><span class="count"><%= $facet->{$n} %></span>
+% } else {
+<%= $n %>
% }
+</label>
% }
</ul>