Sha256: c1c0223140f06e858bd6c0dd3e673e13438e3ac47ec7d74de013c2061a04cdbb
Contents?: true
Size: 1.27 KB
Versions: 5
Compression:
Stored size: 1.27 KB
Contents
<% content_for :tabs do %> <nav> <ul class='tabs' 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> <% if can?(:addresses, @user) %> <li<%== ' class="active"' if current == :address %>> <%= link_to_with_icon 'user', Spree.t(:"admin.user.addresses"), spree.addresses_admin_user_path(@user) %> </li> <% end %> <% if can?(:orders, @user) %> <li<%== ' class="active"' if current == :orders %>> <%= link_to_with_icon 'shopping-cart', Spree.t(:"admin.user.order_history"), spree.orders_admin_user_path(@user) %> </li> <% end %> <% if can?(:items, @user) %> <li<%== ' class="active"' if current == :items %>> <%= link_to_with_icon 'edit', Spree.t(:"admin.user.items"), spree.items_admin_user_path(@user) %> </li> <% end %> <% if can?(:display, Spree::StoreCredit) %> <li<%== ' class="active"' if current == :store_credits %>> <%= link_to_with_icon 'money', Spree.t(:"admin.user.store_credit"), spree.admin_user_store_credits_path(@user) %> </li> <% end %> </ul> </nav> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems