Sha256: 247d20d58b94614463330dadac4990fd8a5176e4221bf6ef65b51040c00de646

Contents?: true

Size: 682 Bytes

Versions: 14

Compression:

Stored size: 682 Bytes

Contents

<% if spree_current_user %>
  <ul id="login-nav" class="inline-menu">
    <li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li>
    <li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_admin_user_path(spree_current_user) %></li>
    <li data-hook="user-logout-link" class='fa fa-sign-out'><%= link_to Spree.t(: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 Spree.t(:back_to_store), spree.root_path, target: '_blank' %>
      </li>
    <% end %>
  </ul>
<% end %>

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
solidus_auth_devise_devise_token_auth-2.1.0.5 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise_devise_token_auth-2.1.0.4 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise_devise_token_auth-2.1.0.3 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise_devise_token_auth-2.1.0.2 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise_devise_token_auth-2.1.0.1 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise_devise_token_auth-2.1.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-2.1.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-2.0.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.6.4 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.6.3 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.6.2 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.6.1 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.6.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.5.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb