Sha256: dc1ebfcf94d438b1eb7b5aef6cfae7cf7bdce617115f431d0984c77fd83ae1b7
Contents?: true
Size: 984 Bytes
Versions: 1
Compression:
Stored size: 984 Bytes
Contents
<% if spree_current_user %> <ul id="login-nav" class="admin-login-nav"> <li data-hook="user-account-link"> <% if can?(:admin, try_spree_current_user) %> <%= link_to spree.edit_admin_user_path(try_spree_current_user) do %> <i class='fa fa-user'></i> <%= try_spree_current_user.email %> <% end %> <% else %> <a> <i class='fa fa-user'></i> <%= try_spree_current_user.email %> </a> <% end %> </li> <li data-hook="user-logout-link"> <%= link_to spree.admin_logout_path do %> <i class='fa fa-sign-out'></i> <%= I18n.t('spree.logout') %> <% end %> </li> <% if spree.respond_to? :root_path %> <li data-hook="store-frontend-link"> <%= link_to spree.root_path, target: '_blank' do %> <i class='fa fa-external-link'></i> <%= I18n.t('spree.back_to_store') %> <% end %> </li> <% end %> </ul> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_auth_devise-2.2.0 | lib/views/backend/spree/admin/shared/_navigation_footer.html.erb |