OptionsTypo3.html 895 Bytes
Newer Older
Thomas Löffler's avatar
Thomas Löffler committed
1
2
3
4
5
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
      xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
      data-namespace-typo3-fluid="true"
>
<div class="card-header">
6
    <span class="facet-label">{facet.label}</span>
Thomas Löffler's avatar
Thomas Löffler committed
7
8
</div>
<div class="card-block">
9
10
    <div class="facet-option-list facet-type-options fluidfacet" data-facet-name="{facet.name}" data-facet-label="{facet.label}">
        <f:for each="{facet.options}" as="option" iteration="iteration">
11
            <a class="btn btn-outline-{facet.configuration.itemClass} btn-sm mb-1 facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">
12
13
14
15
                <strong>
                    {option.label}
                    <span class="badge badge-{facet.configuration.itemClass}">{option.documentCount}</span>
                </strong>
16
            </a>
17
18
        </f:for>
    </div>
Thomas Löffler's avatar
Thomas Löffler committed
19
20
21
22
</div>


</html>