Sha256: 36f5de6df8f5ffac87fe369277bf4dc86cd4ad21b4b31a9c3abbe2d497d4f5ae

Contents?: true

Size: 424 Bytes

Versions: 3

Compression:

Stored size: 424 Bytes

Contents

- if @search.multiple_result_types?
  .grid.grid--auto
    .grid__cell
      %span.search-results__type= pluralize(@search.total, t('workarea.storefront.searches.product_result'))

    - if @search.content_total > 0
      .grid__cell
        %span.search-results__type= link_to pluralize(@search.content_total, t('workarea.storefront.searches.content_result')), content_search_path(q: @search.query_string, type: 'content')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-content_search-1.1.0 app/views/workarea/storefront/searches/_search_type_toggle.html.haml
workarea-content_search-1.0.9 app/views/workarea/storefront/searches/_search_type_toggle.html.haml
workarea-content_search-1.0.8 app/views/workarea/storefront/searches/_search_type_toggle.html.haml