Sha256: 12f91aae0ef46dd88678c2be65d7aec4a62186fba8b7fd9b60b8e7a32e8e2441
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
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 } } = link_to view_model.data[:content_link].presence || category_path(category), class: 'category-summary-content-block__content', style: view_model.content_background_style do %span.category-summary-content-block__content-container %span.category-summary-content-block__heading= view_model.title %span.category-summary-content-block__call-to-action= view_model.call_to_action_text .category-summary-content-block__products .grid.grid--flush - if products.empty? .grid__cell.grid__cell--50.grid__cell--25-at-wide %p.category-summary-content-block__empty-message= t('workarea.storefront.content_blocks.category_summary.empty', name: category.name) - else - products.each do |product| = render_schema_org(product_schema(product)) .grid__cell.grid__cell--50.grid__cell--25-at-wide %div.product-summary.product-summary--small = render 'workarea/storefront/products/summary', product: product
Version data entries
2 entries across 2 versions & 1 rubygems