Sha256: b7b599d1da640d7dadbc2f0619ccfce9328a357b0e76dd26c0adbc2584163ef3

Contents?: true

Size: 690 Bytes

Versions: 3

Compression:

Stored size: 690 Bytes

Contents

.grid__cell{ class: view_model.cell_width_class, style: view_model.cell_styles, data: { pagination_item: '' } }
  .product-grid-cell-content-block{ style: view_model.block_styles, data: { match_product_summary_height: { rows: height }.to_json } }
    - if link.present?
      = link_to '', link, class: 'product-grid-cell-content-block__background-link'
    - if heading.present? || link_text.present?
      .product-grid-cell-content-block__content
        - if heading.present?
          %h2.product-grid-cell-content-block__heading= heading
        - if link_text.present? && link.present?
          %p.product-grid-cell-content-block__action= link_to link_text, link, class: link_style

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-product_grid_content-1.4.0 app/views/workarea/storefront/content_blocks/_product_grid_cell.html.haml
workarea-product_grid_content-1.3.1 app/views/workarea/storefront/content_blocks/_product_grid_cell.html.haml
workarea-product_grid_content-1.3.0 app/views/workarea/storefront/content_blocks/_product_grid_cell.html.haml