% content_for :page_title do %>
<%= t(:order) %> #<%= @order.number %>
<% end %>
<% content_for :sidebar_title do %>
<%= t(:order_information) %>
<% end %>
<% content_for :sidebar do %>
- <%= t(:status) %>:
- <%= t(@order.state, :scope => :order_state) %>
- <%= t(:total) %>:
- <%= @order.display_total %>
<% if @order.completed? %>
- <%= t(:shipment) %>:
- <%= t(@order.shipment_state, :scope => :shipment_states, :default => [:missing, "none"]) %>
- <%= t(:payment) %>:
- <%= t(@order.payment_state, :scope => :payment_states, :default => [:missing, "none"]) %>
- <%= t(:date_completed) %>:
- <%= pretty_time(@order.completed? ? @order.completed_at : @order.created_at) %>
<% end %>
<% end %>