Sha256: b0096d76fd6c9f05726e5ac3e365a33a4431d578a2a2a4d367567f1eba9c1aa8
Contents?: true
Size: 1.33 KB
Versions: 62
Compression:
Stored size: 1.33 KB
Contents
.insight .insight__date %span.insight__period= insight.reporting_on.strftime('%B %Y') .insight__heading= t('workarea.admin.insights.trending_products.title') .insight__body %p.insight__note= t('workarea.admin.insights.trending_products.info') .grid.grid--large.grid--center - insight.results.each do |result| .grid__cell.grid__cell--50.grid__cell--25-at-wide.align-center .insight__product - if result.product.blank? = image_tag(product_image_url(Workarea::Catalog::ProductPlaceholderImage.cached, :small), alt: result.product_id, class: 'insight__product-image') - else = link_to catalog_product_path(result.product) do = image_tag(product_image_url(result.product.primary_image, :small), alt: result.product.name, class: 'insight__product-image') .insight__product-name - if result.product.blank? = result.product_id - else = link_to result.product.name, catalog_product_path(result.product) .insight__product-info %strong= t('workarea.admin.insights.trending_products.improving_weeks', count: result.improving_weeks) .insight__product-info %strong= t('workarea.admin.insights.trending_products.orders', count: result.orders)
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
workarea-admin-3.4.13 | app/views/workarea/admin/insights/_trending_products.html.haml |
workarea-admin-3.4.12 | app/views/workarea/admin/insights/_trending_products.html.haml |