Sha256: 6a5152b69f2d41064ad3874566b7681fd0e2df055d13a85c742a4053dce330a9

Contents?: true

Size: 686 Bytes

Versions: 3

Compression:

Stored size: 686 Bytes

Contents

<% if spree_current_user %>
  <ul id="login-nav" class="inline-menu">
    <li data-hook="user-logged-in-as"><%= t('spree.logged_in_as') %>: <%= spree_current_user.email %></li>
    <li data-hook="user-account-link" class='fa fa-user'><%= link_to t('spree.account'), spree.edit_admin_user_path(spree_current_user) %></li>
    <li data-hook="user-logout-link" class='fa fa-sign-out'><%= link_to t('spree.logout'), spree.admin_logout_path %></li>

    <% if spree.respond_to? :root_path %>
      <li data-hook="store-frontend-link" class='fa fa-external-link'>
         <%= link_to t('spree.back_to_store'), spree.root_path, target: '_blank' %>
      </li>
    <% end %>
  </ul>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_auth_devise-2.5.4 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-2.5.3 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-2.5.2 lib/views/backend/spree/layouts/admin/_login_nav.html.erb