Sha256: a0c3fd2433f95b6344195ae41c957a90fab1897bfc3bffaa92c9e8e6991387a2

Contents?: true

Size: 801 Bytes

Versions: 2

Compression:

Stored size: 801 Bytes

Contents

- @title = t('workarea.storefront.users.order_history')

- content_for :breadcrumbs do
  %p.breadcrumbs__node-group
    %span.breadcrumbs__node
      = link_to t('workarea.storefront.layouts.home'), root_path, rel: 'home', class: 'breadcrumbs__link'
    %span.breadcrumbs__node
      = link_to t('workarea.storefront.users.account'), users_account_path, class: 'breadcrumbs__link'
    %span.breadcrumbs__node
      %span.breadcrumbs__text= t('workarea.storefront.users.order_history')

.view
  .account-dashboard
    %h1= t('workarea.storefront.users.order_history')

    - if @orders.empty?
      %p= t('workarea.storefront.users.no_orders')

    - else
      - @orders.each do |order|
        .account-dashboard__component
          = render 'workarea/storefront/users/orders/summary', order: order

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-one_theme-1.3.1 app/views/workarea/storefront/users/orders/index.html.haml
workarea-one_theme-1.3.0 app/views/workarea/storefront/users/orders/index.html.haml