Sha256: c4f330487c536113b7c915576e03ab537fea3ff5a8ac2e34ebe7c1c623bccd54

Contents?: true

Size: 1.25 KB

Versions: 62

Compression:

Stored size: 1.25 KB

Contents

.insight
  .insight__date
    %span.insight__period= t('workarea.admin.insights.week_ending', date: insight.reporting_on.end_of_week.to_date.to_s(:long))
  .insight__heading= t('workarea.admin.insights.non_sellers.title')
  .insight__body
    %p.insight__note= t('workarea.admin.insights.non_sellers.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= number_with_delimiter(result.views)
              = t('workarea.admin.insights.non_sellers.views')

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/insights/_non_sellers.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/insights/_non_sellers.html.haml