mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Move spree/layouts/admin/ tabs deface to spree/layout/admin view
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
/ insert_bottom "[data-hook='admin_tabs'], #admin_tabs[data-hook]"
|
||||
= tab :customers, :url => main_app.admin_customers_path
|
||||
@@ -1,2 +0,0 @@
|
||||
/ insert_bottom "[data-hook='admin_tabs'], #admin_tabs[data-hook]"
|
||||
= tab :enterprises, :url => main_app.admin_enterprises_path
|
||||
@@ -1,2 +0,0 @@
|
||||
/ insert_bottom "[data-hook='admin_tabs'], #admin_tabs[data-hook]"
|
||||
= tab :enterprise_groups, :url => main_app.admin_enterprise_groups_path, label: 'groups'
|
||||
@@ -1,2 +0,0 @@
|
||||
/ insert_bottom "[data-hook='admin_tabs'], #admin_tabs[data-hook]"
|
||||
= tab :order_cycles, :url => main_app.admin_order_cycles_path
|
||||
@@ -36,6 +36,10 @@
|
||||
.sixteen.columns.main-menu-wrapper
|
||||
%ul.inline-menu.fullwidth-menu{"data-hook" => "admin_tabs"}
|
||||
= render :partial => 'spree/admin/shared/tabs'
|
||||
= tab :order_cycles, :url => main_app.admin_order_cycles_path
|
||||
= tab :enterprises, :url => main_app.admin_enterprises_path
|
||||
= tab :customers, :url => main_app.admin_customers_path
|
||||
= tab :enterprise_groups, :url => main_app.admin_enterprise_groups_path, label: 'groups'
|
||||
|
||||
- if content_for?(:sub_menu)
|
||||
%nav#sub-menu{"data-hook" => ""}
|
||||
|
||||
Reference in New Issue
Block a user