From 814ee9847ea9441dbd9e01a500e2a1734787a739 Mon Sep 17 00:00:00 2001 From: summerscope Date: Wed, 4 Jun 2014 16:09:15 +1000 Subject: [PATCH] Adding a new partial for mobile menu (off canvas) to restyle items in dropdown in big menu --- app/views/shared/_signed_in_offcanvas.html.haml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app/views/shared/_signed_in_offcanvas.html.haml diff --git a/app/views/shared/_signed_in_offcanvas.html.haml b/app/views/shared/_signed_in_offcanvas.html.haml new file mode 100644 index 0000000000..e500646e62 --- /dev/null +++ b/app/views/shared/_signed_in_offcanvas.html.haml @@ -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 \ No newline at end of file