Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Admin: Fix styles of action buttons (#12374)
Damian Legawiecf9f4c17a6468
diff --git a/admin/app/views/spree/admin/orders/index.html.erb b/admin/app/views/spree/admin/orders/index.html.erbindex 5d7b31a7da..e44e64aea7 100644--- a/admin/app/views/spree/admin/orders/index.html.erb+++ b/admin/app/views/spree/admin/orders/index.html.erb@@ -7,7 +7,7 @@<% end %><% content_for :page_actions do %>- <%= link_to_with_icon 'plus', Spree.t(:new_order), spree.admin_orders_path, class: "btn btn-primary ml-2", data: { turbo_method: :post } if can?(:create, Spree::Order) %>+ <%= link_to_with_icon 'plus', Spree.t(:new_order), spree.admin_orders_path, class: "btn btn-primary", data: { turbo_method: :post } if can?(:create, Spree::Order) %><% end %><div class="card-lg p-0">diff --git a/admin/app/views/spree/admin/posts/index.html.erb b/admin/app/views/spree/admin/posts/index.html.erbindex b643830a56..1ff907ec3b 100644--- a/admin/app/views/spree/admin/posts/index.html.erb+++ b/admin/app/views/spree/admin/posts/index.html.erb@@ -1,7 +1,7 @@<% content_for :page_actions do %><%= render 'extra_actions' %>- <%= link_to_with_icon 'plus', Spree.t(:new_post), new_object_url, class: 'btn btn-primary ml-2' if can?(:create, Spree::Post) %>+ <%= link_to_with_icon 'plus', Spree.t(:new_post), new_object_url, class: 'btn btn-primary' if can?(:create, Spree::Post) %><% end %><%= render 'spree/admin/shared/posts_tabs' %>diff --git a/admin/app/views/spree/admin/products/_index_header.html.erb b/admin/app/views/spree/admin/products/_index_header.html.erbindex 4bb9e1d0b4..6768c57fe4 100644--- a/admin/app/views/spree/admin/products/_index_header.html.erb+++ b/admin/app/views/spree/admin/products/_index_header.html.erb@@ -3,5 +3,5 @@<% end %><% content_for :page_actions do %>- <%= link_to_with_icon 'plus', Spree.t(:new_product), new_object_url, class: 'btn btn-primary ml-2' if can?(:create, Spree::Product) %>+ <%= link_to_with_icon 'plus', Spree.t(:new_product), new_object_url, class: 'btn btn-primary' if can?(:create, Spree::Product) %><% end %>