Sha256: 756292a265c4870db5b8abdb1dae807ecb6dd83fc03b000c168b04ddbf575890

Contents?: true

Size: 825 Bytes

Versions: 14

Compression:

Stored size: 825 Bytes

Contents

<% content_for :sidebar do %>
  <ul class="nav nav-pills nav-stacked" data-hook="admin_user_tab_options">
    <li<%== ' class="active"' if current == :account %>>
      <%= link_to_with_icon 'user', Spree.t(:"admin.user.account"), spree.edit_admin_user_path(@user) %>
    </li>
    <li<%== ' class="active"' if current == :address %>>
      <%= link_to_with_icon 'user', Spree.t(:"admin.user.addresses"), spree.addresses_admin_user_path(@user) %>
    </li>
    <li<%== ' class="active"' if current == :orders %>>
      <%= link_to_with_icon 'shopping-cart', Spree.t(:"admin.user.orders"), spree.orders_admin_user_path(@user) %>
    </li>
    <li<%== ' class="active"' if current == :items %>>
      <%= link_to_with_icon 'edit', Spree.t(:"admin.user.items"), spree.items_admin_user_path(@user) %>
    </li>
  </ul>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
spree_backend-3.0.10 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.9 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.8 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.7 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.6.1 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.6 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.5 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.4 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.3 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.2 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.1 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.0 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.0.rc4 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-3.0.0.rc3 app/views/spree/admin/users/_sidebar.html.erb