app/views/admin/users/show.html.erb in spree-0.5.1 vs app/views/admin/users/show.html.erb in spree-0.6.0
- old
+ new
@@ -1,11 +1,18 @@
-<h1><%= t("My Account") %></h1>
+<h1><%= t("user_account") %></h1>
+<br/>
<table>
<tr>
- <td><%= t("Email") %>:</td>
+ <td><%= t("email") %>: </td>
<td>
<%= @user.email %>
</td>
+ </tr>
+ <tr>
+ <td><%= t("roles") %>: </td>
+ <td>
+ <%= list_roles(@user) %>
+ </td>
</tr>
</table>
<br/>
-<%= link_to t('Edit'), edit_object_url %>
+<%= link_to t('edit'), edit_object_url %>