vendor/store.shopware.com/acrisfiltercs/src/Resources/views/storefront/component/listing/filter/filter-boolean.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/listing/filter/filter-boolean.html.twig' %}
  2. {% block component_filter_boolean_display_name %}
  3.     {{ parent() }}
  4.     {% if listing.aggregations.has(name) %}
  5.         {% set element = listing.aggregations.get(name) %}
  6.     {% endif %}
  7.     {% block component_filter_boolean_display_name_count %}
  8.         {% if element and element.extensions.aggregationDocCount and element.extensions.aggregationDocCount.docCount > 0 %}
  9.             <span class="acris-filter-count acris-filter-count-boolean filter-count-{{ element.id }}"
  10.                   data-term-count-id="{{ element.id }}"
  11.                   data-term-count-label-before="{{ "acrisFilter.filter.labelBefore"|trans }}"
  12.                   data-term-count-label-after="{{ "acrisFilter.filter.labelAfter"|trans }}">
  13.                 {{ "acrisFilter.filter.labelBefore"|trans }}{{ element.extensions.aggregationDocCount.docCount }}{{ "acrisFilter.filter.labelAfter"|trans }}
  14.             </span>
  15.         {% endif %}
  16.     {% endblock %}
  17. {% endblock %}