Sha256: 836fa4971e44ed3342d9986ede49a1288b5fca6af37e323d07cc8f7319f20250

Contents?: true

Size: 878 Bytes

Versions: 16

Compression:

Stored size: 878 Bytes

Contents

<h1><%= t("my_account") %></h1>
<table>
  <tr>
    <td><%= t("email") %>:</td>
    <td>
      <%= @user.email %>
    </td>
  </tr>
</table>
<%= link_to t('edit'), edit_object_url %>


<h1><%= t("my_orders") %></h1>
 
 
<table class="order-summary" width="545">
  <thead>
    <tr>
      <th><%= t("order_number") %></th>
      <th><%= t("order_date") %></th>
      <th><%= t("status") %></th>
      <th><%= t("customer") %></th>
      <th><%= t("total") %></th>
    </tr>
  </thead>
  <tbody>
  <% @orders.each do |order| %>
    <tr class="<%= cycle('even', 'odd') %>">
      <td><%= link_to order.number, order_url(order) %></td>
      <td><%=order.created_at.to_date%></td>
      <td><%= t(order.state).titleize %></td>
      <td><%= order.user.email if order.user %></td>
      <td><%= number_to_currency order.total %></td>
    </tr>
  <% end %>
  </tbody>
</table>
 
<br />

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 app/views/users/show.html.erb
spree-enriquez-0.9.4 app/views/users/show.html.erb
spree-0.9.4 app/views/users/show.html.erb
spree-0.9.3 app/views/users/show.html.erb
spree-0.9.2 app/views/users/show.html.erb
spree-0.9.1 app/views/users/show.html.erb
spree-0.9.0 app/views/users/show.html.erb
spree-0.8.4 app/views/users/show.html.erb
spree-0.8.5 app/views/users/show.html.erb
spree-0.6.0 app/views/users/show.html.erb
spree-0.7.1 app/views/users/show.html.erb
spree-0.7.0 app/views/users/show.html.erb
spree-0.8.0 app/views/users/show.html.erb
spree-0.8.1 app/views/users/show.html.erb
spree-0.8.2 app/views/users/show.html.erb
spree-0.8.3 app/views/users/show.html.erb