Sha256: 1a4cce3ffa4338a0070498feea62628701dc037c7e748e0c1b57dcbc6178c31c

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

<% content_for :page_title do %>
  <%= page_header_back_button spree.admin_users_path %>
  <%= @user.email %>
<% end %>

<% content_for :page_tabs do %>
  <li class="nav-item">
    <%= link_to_with_icon 'person.svg',
      Spree.t(:"admin.user.account"),
      spree.edit_admin_user_path(@user),
      class: "nav-link #{'active' if current == :account}" %>
  </li>
  <li class="nav-item">
    <%= link_to_with_icon 'pin-map.svg',
      Spree.t(:"admin.user.addresses"),
      spree.addresses_admin_user_path(@user),
      class: "nav-link #{'active' if current == :address}" %>
  </li>
  <li class="nav-item">
    <%= link_to_with_icon 'inbox.svg',
      Spree.t(:"admin.user.orders"),
      spree.orders_admin_user_path(@user),
      class: "nav-link #{'active' if current == :orders}" %>
  </li>
  <li class="nav-item">
    <%= link_to_with_icon 'tag.svg',
      Spree.t(:"admin.user.items"),
      spree.items_admin_user_path(@user),
      class: "nav-link #{'active' if current == :items}" %>
  </li>
  <li class="nav-item">
    <%= link_to_with_icon 'gift.svg',
      Spree.t(:"admin.user.store_credits"),
      spree.admin_user_store_credits_path(@user),
      class: "nav-link #{'active' if current == :store_credits}" %>
  </li>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_backend-4.6.2 app/views/spree/admin/users/_tabs.html.erb
spree_backend-4.6.1 app/views/spree/admin/users/_tabs.html.erb
spree_backend-4.6.0 app/views/spree/admin/users/_tabs.html.erb
spree_backend-4.5.1 app/views/spree/admin/users/_tabs.html.erb
spree_backend-4.5.0 app/views/spree/admin/users/_tabs.html.erb