Files
openfoodnetwork/app/views/shared/menu/_signed_in_offcanvas.html.haml
Matt-Yorkley b9edea7c0e Rename 'admin/overview#index' route from :admin to :admin_dashboard
Fixes issues with route declarations in Rails 4
2020-01-12 13:11:33 +01:00

23 lines
519 B
Plaintext

- if discourse_configured?
%li.li-menu
%a{href: main_app.discourse_login_path, target: '_blank'}
%span.nav-primary
%i.ofn-i_025-notepad
= t 'label_notices'
- if admin_user? or enterprise_user?
%li
%a{href: spree.admin_dashboard_path, target:'_blank'}
%i.ofn-i_021-tools
= t 'label_admin'
%li
%a{href: spree.account_path}
%i.ofn-i_015-user
= t 'label_account'
%li
%a{title: t('label_logout'), href:'/logout' }
%i.ofn-i_018-unlocked
= t 'label_logout'