Sha256: 8d9d47e890efad33f19e607022343e054ab1671972eb51decce6d3a310cd03ca

Contents?: true

Size: 706 Bytes

Versions: 5

Compression:

Stored size: 706 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_auth_devise-2.5.1 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-2.5.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-2.4.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-2.3.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb
solidus_auth_devise-2.2.0 lib/views/backend/spree/layouts/admin/_login_nav.html.erb