Sha256: 2332cd89eb41f2e72b9274182c76f26261ed0ecd7e86781654dab764fec84af9

Contents?: true

Size: 1.26 KB

Versions: 26

Compression:

Stored size: 1.26 KB

Contents

<% content_for :page_title do %>
  <%= link_to Spree.t(:users), spree.admin_users_path %> /
<% end %>

<% content_for :sidebar do %>
  <ul class="nav flex-column nav-pills" data-hook="admin_user_tab_options">
    <li>
      <%= link_to_with_icon 'user.svg',
        Spree.t(:"admin.user.account"),
        spree.edit_admin_user_path(@user),
        class: "nav-link #{'active' if current == :account}" %>
    </li>
    <li>
      <%= link_to_with_icon 'location.svg',
        Spree.t(:"admin.user.addresses"),
        spree.addresses_admin_user_path(@user),
        class: "nav-link #{'active' if current == :address}" %>
    </li>
    <li>
      <%= link_to_with_icon 'list.svg',
        Spree.t(:"admin.user.orders"),
        spree.orders_admin_user_path(@user),
        class: "nav-link #{'active' if current == :orders}" %>
    </li>
    <li>
      <%= link_to_with_icon 'items.svg',
        Spree.t(:"admin.user.items"),
        spree.items_admin_user_path(@user),
        class: "nav-link #{'active' if current == :items}" %>
    </li>
    <li>
      <%= link_to_with_icon 'payments.svg',
        Spree.t(:"admin.user.store_credits"),
        spree.admin_user_store_credits_path(@user),
        class: "nav-link #{'active' if current == :store_credits}" %>
    </li>
  </ul>
<% end %>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spree_backend-4.2.7 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.3.3 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.2.6 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.3.2 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.4.1 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.4.0 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.4.0.rc2 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.3.1 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.4.0.rc1 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.3.0 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.3.0.rc3 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.3.0.rc2 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.3.0.rc1 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.2.5 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.2.4 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.2.3.1 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.2.3 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.2.2 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.2.1 app/views/spree/admin/users/_sidebar.html.erb
spree_backend-4.2.0 app/views/spree/admin/users/_sidebar.html.erb