Sha256: 68830f85dabd0bf6d10f797098b870753b825e320fe48a33295c4484d2126301

Contents?: true

Size: 944 Bytes

Versions: 28

Compression:

Stored size: 944 Bytes

Contents

- if category.present?
  .category-summary-content-block{ data: { analytics: product_list_analytics_data(t('workarea.storefront.content_blocks.category_summary.summary_of', name: category.name)).to_json } }

    %span.category-summary-content-block__heading
      = link_to t('workarea.storefront.content_blocks.category_summary.view_all', name: category.name), category_path(category), class: 'category-summary-content-block__heading-link'

    - if products.empty?
      %p.category-summary-content-block__empty-message= t('workarea.storefront.content_blocks.category_summary.empty', name: category.name)

    - else
      .grid
        - products.each do |product|
          = render_schema_org(product_schema(product))
          .grid__cell.grid__cell--50.grid__cell--33-at-medium.grid__cell--16-at-wide
            %div.product-summary.product-summary--small
              = render 'workarea/storefront/products/summary', product: product

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workarea-storefront-3.5.27 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.26 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.25 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.23 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.22 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.21 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.20 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.19 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.18 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.17 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.16 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.15 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.14 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.13 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.12 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.11 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.10 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.9 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.8 app/views/workarea/storefront/content_blocks/_category_summary.html.haml
workarea-storefront-3.5.7 app/views/workarea/storefront/content_blocks/_category_summary.html.haml