Sha256: 4d7c3100f9028940b06e3aaa5296a274866a978e403d6895ed3a3eccd7dc86fc

Contents?: true

Size: 679 Bytes

Versions: 8

Compression:

Stored size: 679 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_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

8 entries across 8 versions & 1 rubygems

Version Path
solidus_auth_devise-1.4.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.3.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.2.3 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.2.2 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.2.1 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.2.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.1.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-1.0.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb