Sha256: 2a91ba9e0cd52bcda223627da32ede5e008e9f137f0c42c7bc4d299f73cc72f6

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

%h1.mt-0.mb-25 My Orders
%p.lead.small.mb-10.visible-xs Filter by
.dropdown.general-order-dropdown.mb-20
  %a.dropdown-toggle.dropdown-btn.width-240{href: '#', 'data-toggle': 'dropdown', role: 'button', 'aria-haspopup': 'true', 'aria-expanded': 'false'}
    = presenter.current_filter_method
    %i.fa.fa-angle-down.dropdown-icon
  %ul.dropdown-menu
    - presenter.filter_methods.each do |filter|
      %li= link_to filter[:title], { filter: filter[:key] }
.hidden-xs.mb-res-50
  %table.table.table-hover
    %thead
      %tr
        %th
          %span.in-grey-600 Number
        %th
          %span.in-grey-600 Completed at
        %th
          %span.in-grey-600 Status
        %th
          %span.in-grey-600 Total
    %tbody
      - presenter.orders.each do |order|
        %tr
          %td
            = link_to order.number, order, class: 'general-order-number'
          %td
            %span.in-grey-900.font-16.fw-300= order.completed_at
          %td
            %span{class: order.state_classes}= order.state
          %td
            %strong.font-16= order.total

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppper-0.1.0 app/views/shopper/orders/index.html.haml