mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Navigation is included only for super admin users
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
- if spree_current_user.admin?
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
= t(".title")
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
- if spree_current_user.admin?
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
= Spree.t(:general_settings)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
- if spree_current_user.admin?
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
= t('.editing_payment_method')
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
- if spree_current_user.admin?
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
= t('.payment_methods')
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
- if spree_current_user.admin?
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
= t('.new_payment_method')
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
- if spree_current_user.admin?
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
= t('.editing_shipping_method')
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
- if spree_current_user.admin?
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
= t('.shipping_methods')
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
- if spree_current_user.admin?
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
= t('.new_shipping_method')
|
||||
|
||||
Reference in New Issue
Block a user