mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-25 05:45:15 +00:00
Merge pull request #8556 from sinansonmez/8546-include-navigation-only-for-super-admins
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