OptionsTags.html 867 Bytes
Newer Older
Thomas Löffler's avatar
Thomas Löffler committed
1
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
Markus Sommer's avatar
Markus Sommer committed
2 3
      xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
      data-namespace-typo3-fluid="true"
Thomas Löffler's avatar
Thomas Löffler committed
4 5 6
>

<div class="card-header">
7
    <span class="facet-label">{facet.label}</span>
Thomas Löffler's avatar
Thomas Löffler committed
8
</div>
Thomas Löffler's avatar
Thomas Löffler committed
9
<div class="card-body">
10 11
    <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">
Markus Sommer's avatar
Markus Sommer committed
12 13 14
            <a class="btn btn-outline-{facet.configuration.itemClass} btn-sm mb-1 mr-1 facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">
                {facet.configuration.prefix}{option.label}
                <span class="badge badge-{facet.configuration.itemClass}">{option.documentCount}</span>
15 16 17
            </a>
        </f:for>
    </div>
Thomas Löffler's avatar
Thomas Löffler committed
18 19
</div>
</html>