Sha256: aeb077cc86f5380a59def79c43121bf042476b7ada3ce2cdbdb0daf6f88e5fcc

Contents?: true

Size: 868 Bytes

Versions: 1

Compression:

Stored size: 868 Bytes

Contents

h2
  | {{:: 'orders.order_history' | translate }}
#order-history
  .not-found(ng-if='user.orders.length == 0')
    p
      | {{:: 'orders.no_orders_on_file' | translate }}

  .order(ng-repeat="order in user.orders")
    dl
      dt
        | {{:: 'orders.number' | translate }}
      dd
        | {{order.number}}

      dt
        | {{:: 'orders.state' | translate }}
      dd
        | {{order.state}}

      dt
        | {{:: 'orders.ordered_on' | translate }}
      dd
        | {{order.completed_at | date}}

      dt
        | {{:: 'orders.amount' | translate }}
      dd
        | {{order.total | currency : currencySymbol}}

      dt
        | {{:: 'orders.shipping_state' | translate }}
      dd
        | {{order.shipment_state}}

    a.btn.btn-primary.btn-small(ng-href="#!/orders/{{order.number}}")
      | {{:: 'orders.see_details' | translate }}

    hr

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprangular-0.1.0 app/assets/templates/orders/index.html.slim