Commit 0874d3bc authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Use badges for numbers in facets

parent 76ec6bb6
Pipeline #10339 passed with stages
in 2 minutes and 30 seconds
......@@ -6,7 +6,7 @@
<f:for each="{facet.options}" as="option" iteration="iteration">
<li class="nav-item">
<a class="facet solr-ajaxified nav-link{f:if(condition:option.selected,then: ' active')}" href="{s:uri.facet.setFacetItem(facet: facet, facetItem: option)}">{option.label}
<span class="badge badge-dark">{option.documentCount}</span>
......@@ -62,7 +62,7 @@
<li class="nav-item">
<a href="{s:uri.facet.removeAllFacets()}" class="nav-link{f:if(condition:'{facetUsed}', else:' active')}"">
<span class="badge badge-dark">{allResultCountWithoutFacets}</span>
<f:if condition="{resultSet.hasSearched}">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment