mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Adding a new partial for mobile menu (off canvas) to restyle items in dropdown in big menu
This commit is contained in:
14
app/views/shared/_signed_in_offcanvas.html.haml
Normal file
14
app/views/shared/_signed_in_offcanvas.html.haml
Normal file
@@ -0,0 +1,14 @@
|
||||
%li
|
||||
%a{href: spree.account_path}
|
||||
%i.ofn-i_015-user
|
||||
= spree_current_user.email
|
||||
%li
|
||||
%a{title: 'Log Out', href:'/logout' }
|
||||
%i.ofn-i_018-unlocked
|
||||
LOG OUT
|
||||
|
||||
- if admin_user? or enterprise_user?
|
||||
%li
|
||||
%a{href: spree.admin_path}
|
||||
%i.ofn-i_021-tools
|
||||
Admin
|
||||
Reference in New Issue
Block a user