Sha256: b83ce094dfd544211e4a75e3cfcc8b297f5bce8ab28a557ff2546234696ca7b6

Contents?: true

Size: 684 Bytes

Versions: 62

Compression:

Stored size: 684 Bytes

Contents

.result-filters__section{ class: "result-filters__section--#{facet.system_name}" }
  %h2= 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= t('workarea.storefront.products.remove_filter')
          - else
            %span.result-filters__count (#{count})

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.13 app/views/workarea/storefront/facets/_terms.html.haml
workarea-storefront-3.4.12 app/views/workarea/storefront/facets/_terms.html.haml