Sha256: d1c2b836a6dd55edda0af5044392d22b4dc5e8efea1888bc21da291564c2add0
Contents?: true
Size: 938 Bytes
Versions: 28
Compression:
Stored size: 938 Bytes
Contents
- if @recent_views.products.any? || @recent_views.categories.any? .recent-views.recent-views--aside - if @recent_views.products.any? .recent-views__section.recent-views__section--products %h2.recent-views__heading= t('workarea.storefront.recommendations.recent_products') - @recent_views.products.each do |product| = render_schema_org(product_schema(product)) .product-summary.product-summary--small = render 'workarea/storefront/products/summary', product: product - if @recent_views.categories.any? .recent-views__section.recent-views__section--categories %h2.recent-views__heading= t('workarea.storefront.recommendations.recent_categories') %ul.recent-views__list - @recent_views.categories.each do |category| %li.recent-views__item = link_to category.name, category_path(category), class: 'recent-views__link'
Version data entries
28 entries across 28 versions & 1 rubygems