diff --git a/app/views/spree/admin/shared/_order_sub_menu.html.erb b/app/views/spree/admin/shared/_order_sub_menu.html.erb deleted file mode 100644 index 171b458f7b..0000000000 --- a/app/views/spree/admin/shared/_order_sub_menu.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% content_for :sub_menu do %> - -<% end %> diff --git a/app/views/spree/admin/shared/_order_sub_menu.html.haml b/app/views/spree/admin/shared/_order_sub_menu.html.haml new file mode 100644 index 0000000000..ba9a15407b --- /dev/null +++ b/app/views/spree/admin/shared/_order_sub_menu.html.haml @@ -0,0 +1,6 @@ +- content_for :sub_menu do + %ul#sub_nav.inline-menu + = tab :orders, :match_path => '/orders' + = tab :bulk_order_management, :match_path => '/orders/bulk_management' + - if subscriptions_enabled? + = tab :subscriptions, :match_path => '/subscriptions', url: main_app.admin_subscriptions_path