Sha256: 0e80c7890a43834eb63f2f4c2e7b7694da86ac537d1c67c4bf4e98fe1a490c30

Contents?: true

Size: 802 Bytes

Versions: 5

Compression:

Stored size: 802 Bytes

Contents

.result-filters__section{ class: "result-filters__section--#{facet.system_name}" }
  %h2.result-filters__heading= t('workarea.storefront.products.filter_title', name: facet.display_name)
  %ul.result-filters__group
    - facet.results.each do |value_name, count|
      %li.result-filters__filter{ class: ('result-filters__filter--selected' if facet.selected?(value_name)) }
        = link_to facet_path(facet, value_name), rel: 'nofollow', class: 'result-filters__link' do
          = value_name.titleize
          - if facet.selected?(value_name)
            %strong.result-filters__remove= inline_svg('workarea/storefront/icons/close.svg', class: 'result-filters__remove-icon', title: t('workarea.storefront.products.remove_filter'))
          - else
            %span.result-filters__count #{count}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-nvy_theme-1.2.1 app/views/workarea/storefront/facets/_terms.html.haml
workarea-nvy_theme-1.2.0 app/views/workarea/storefront/facets/_terms.html.haml
workarea-nvy_theme-1.1.4 app/views/workarea/storefront/facets/_terms.html.haml
workarea-nvy_theme-1.1.3 app/views/workarea/storefront/facets/_terms.html.haml
workarea-nvy_theme-1.1.2 app/views/workarea/storefront/facets/_terms.html.haml