diff --git a/app/overrides/spree/admin/payment_methods/edit/add_new_payment_method_button.html.haml.deface b/app/overrides/spree/admin/payment_methods/edit/add_new_payment_method_button.html.haml.deface new file mode 100644 index 0000000000..fa595620e7 --- /dev/null +++ b/app/overrides/spree/admin/payment_methods/edit/add_new_payment_method_button.html.haml.deface @@ -0,0 +1,4 @@ +/ insert_after "code[erb-silent]:contains('content_for :page_actions do')" + +%li + = button_link_to t(:new), spree.new_admin_payment_method_path, :icon => 'icon-plus' %> \ No newline at end of file diff --git a/app/overrides/spree/admin/shipping_methods/edit/add_new_shipping_method_buttton.html.haml.deface b/app/overrides/spree/admin/shipping_methods/edit/add_new_shipping_method_buttton.html.haml.deface new file mode 100644 index 0000000000..b92e713258 --- /dev/null +++ b/app/overrides/spree/admin/shipping_methods/edit/add_new_shipping_method_buttton.html.haml.deface @@ -0,0 +1,4 @@ +/ insert_after "code[erb-silent]:contains('content_for :page_actions do')" + +%li + = button_link_to t(:new), spree.new_admin_shipping_method_path, :icon => 'icon-plus' %> \ No newline at end of file