first commit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
|
@@ -1,13 +1,13 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<f:section name="hierarchyTree">
|
||||
<f:for each="{node.childNodes}" as="childNode" iteration="iteration">
|
||||
<div class="facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')} list-group-item" data-facet-item-value="{childNode.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: childNode)}">{childNode.label}</a>
|
||||
<div class="facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')} list-group-item" data-facet-item-value="{childNode.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: childNode)}">{childNode.label}</a>
|
||||
<span class="facet-result-count badge">{childNode.documentCount}</span>
|
||||
</div>
|
||||
<f:if condition="{childNode.childNodes}">
|
||||
@@ -27,4 +27,4 @@
|
||||
<f:render section="hierarchyTree" arguments="{node: facet, facet: facet}" />
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
</div>
|
||||
<div class="facet-option-list facet-type-options fluidfacet list-group panel-collapse collapse" data-facet-name="{facet.name}" data-facet-label="{facet.label}" id="facet{facet.name}">
|
||||
<f:for each="{facet.options}" as="option" iteration="iteration">
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count badge">{option.documentCount}</span>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count badge">{option.documentCount}</span>
|
||||
</div>
|
||||
</f:for>
|
||||
<f:if condition="{facet.options -> f:count()} > 10">
|
||||
<div class="list-group-item">
|
||||
<a href="#" class="tx-solr-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'solr')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'solr')}">
|
||||
<s:translate key="faceting_showMore" extensionName="solr">Show more</s:translate>
|
||||
<a href="#" class="tx-meilisearch-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'meilisearch')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'meilisearch')}">
|
||||
<s:translate key="faceting_showMore" extensionName="meilisearch">Show more</s:translate>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
|
||||
<div class="facet-option-list facet-type-options fluidfacet list-group" data-facet-name="{facet.name}" data-facet-label="{facet.label}" id="facet-data{facet.name}">
|
||||
<f:for each="{facet.options}" as="option" iteration="iteration">
|
||||
<div class="list-group-item facet-filter-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count badge">{option.documentCount}</span>
|
||||
<div class="list-group-item facet-filter-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count badge">{option.documentCount}</span>
|
||||
</div>
|
||||
</f:for>
|
||||
<f:if condition="{facet.options -> f:count()} > 10">
|
||||
<div class="list-group-item">
|
||||
<a href="#" class="tx-solr-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'solr')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'solr')}">
|
||||
<s:translate key="faceting_showMore" extensionName="solr">Show more</s:translate>
|
||||
<a href="#" class="tx-meilisearch-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'meilisearch')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'meilisearch')}">
|
||||
<s:translate key="faceting_showMore" extensionName="meilisearch">Show more</s:translate>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<div class="list-group">
|
||||
<f:for each="{filteredOptions}" as="option">
|
||||
<div class="facet-option list-group-item" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<span class="facet-result-count badge">
|
||||
{option.documentCount}
|
||||
</span>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
</div>
|
||||
<div class="facet-option-list facet-type-options fluidfacet list-group panel-collapse collapse" data-facet-name="{facet.name}" data-facet-label="{facet.label}" id="facet{facet.name}">
|
||||
<f:for each="{facet.options}" as="option" iteration="iteration">
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.setFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count">({option.documentCount})</span>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.setFacetItem(facet: facet, facetItem: option)}">{option.label}</a> <span class="facet-result-count">({option.documentCount})</span>
|
||||
</div>
|
||||
</f:for>
|
||||
<f:if condition="{facet.options -> f:count()} > 10">
|
||||
<div class="list-group-item">
|
||||
<a href="#" class="tx-solr-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'solr')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'solr')}">
|
||||
<s:translate key="faceting_showMore" extensionName="solr">Show more</s:translate>
|
||||
<a href="#" class="tx-meilisearch-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'meilisearch')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'meilisearch')}">
|
||||
<s:translate key="faceting_showMore" extensionName="meilisearch">Show more</s:translate>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
<f:for each="{facet.options}" as="option" iteration="iteration">
|
||||
<f:if condition="{option.selected}">
|
||||
<f:then>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified active" href="{s:uri.facet.removeFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified active" href="{s:uri.facet.removeFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<span class="facet-result-count badge">{option.documentCount}</span>
|
||||
</div>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<div class="list-group-item facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')}" data-facet-item-value="{option.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">{option.label}</a>
|
||||
<span class="facet-result-count badge">{option.documentCount}</span>
|
||||
</div>
|
||||
</f:else>
|
||||
@@ -31,8 +31,8 @@
|
||||
</f:for>
|
||||
<f:if condition="{facet.options -> f:count()} > 10">
|
||||
<div class="list-group-item">
|
||||
<a href="#" class="tx-solr-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'solr')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'solr')}">
|
||||
<s:translate key="faceting_showMore" extensionName="solr">Show more</s:translate>
|
||||
<a href="#" class="tx-meilisearch-facet-show-all" data-label-more="{s:translate(key:'faceting_showMore', extensionName:'meilisearch')}" data-label-less="{s:translate(key:'faceting_showFewer', extensionName:'meilisearch')}">
|
||||
<s:translate key="faceting_showMore" extensionName="meilisearch">Show more</s:translate>
|
||||
</a>
|
||||
</div>
|
||||
</f:if>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -38,4 +38,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
@@ -33,4 +33,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,13 +1,13 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<f:section name="hierarchyTree">
|
||||
<f:for each="{node.childNodes}" as="childNode" iteration="iteration">
|
||||
<div class="facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-solr-facet-hidden')} list-group-item" data-facet-item-value="{childNode.value}">
|
||||
<a class="facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: childNode)}"><f:cObject typoscriptObjectPath="lib.tx_meilisearch.pagetitle">{childNode.label}</f:cObject></a>
|
||||
<div class="facet-option{f:if(condition:'{iteration.index} > 9', then:' tx-meilisearch-facet-hidden')} list-group-item" data-facet-item-value="{childNode.value}">
|
||||
<a class="facet meilisearch-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: childNode)}"><f:cObject typoscriptObjectPath="lib.tx_meilisearch.pagetitle">{childNode.label}</f:cObject></a>
|
||||
<span class="facet-result-count badge">{childNode.documentCount}</span>
|
||||
</div>
|
||||
<f:if condition="{childNode.childNodes}">
|
||||
|
Reference in New Issue
Block a user