Sha256: c6d764d33968eddd9589a4d39afc8f7ab492313eda93e38f71eaa36a24e27081

Contents?: true

Size: 566 Bytes

Versions: 10

Compression:

Stored size: 566 Bytes

Contents

%li.order.object{:id => "order_#{order.id}", :'data-id' => order.id}
  .attributes
    %span.name.attribute
    - render_region :body do |body|
      - body.price do
        %span.price.attribute= link_to number_to_currency(order.price), edit_admin_shop_order_path(order)
      - body.status do
        %span.status.attribute= order.status
      - body.updated do
        %span.updated.attribute= "#{distance_of_time_in_words Time.now, order.updated_at} ago"
      - body.customer do
        .modify
          %span.customer.attribute= order.customer.name rescue nil

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
radiant-shop-extension-0.90.4 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.90.2 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.90.1 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.90.0 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.11.6 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.11.5 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.11.4 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.11.3 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.11.1 app/views/admin/shop/orders/index/_order.html.haml
radiant-shop-extension-0.11.0 app/views/admin/shop/orders/index/_order.html.haml