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
improve tables/sort ui
Damian Legawiecb60eb72e9561
diff --git a/admin/app/assets/stylesheets/spree/admin/components/_filters.scss b/admin/app/assets/stylesheets/spree/admin/components/_filters.scssindex e9ca88694a..ca6a530efd 100644--- a/admin/app/assets/stylesheets/spree/admin/components/_filters.scss+++ b/admin/app/assets/stylesheets/spree/admin/components/_filters.scss@@ -8,16 +8,20 @@ i.js-delete-filter {}.sort_link {- color: $gray-600 !important;+ color: $gray-600;+ padding: 0.25rem;+ border-radius: $border-radius-sm;&:hover {- color: $gray-700 !important;+ color: theme-color('primary') !important;text-decoration: none !important;+ background-color: $gray-50;}&.asc, &.desc {+ font-weight: $font-weight-bold;svg {- color: $gray-900 !important;+ color: $gray-600 !important;}}diff --git a/admin/app/assets/stylesheets/spree/admin/components/_tables.scss b/admin/app/assets/stylesheets/spree/admin/components/_tables.scssindex 1a85dfd62c..f8ea5446de 100644--- a/admin/app/assets/stylesheets/spree/admin/components/_tables.scss+++ b/admin/app/assets/stylesheets/spree/admin/components/_tables.scss@@ -40,13 +40,14 @@ table.table {}thead {+ background-color: rgba($gray-25, 0.5);th {@extend .text-muted;font-size: $font-size-sm;+ font-weight: $font-weight-normal;vertical-align: middle;- font-weight: 400;- padding-top: 0.5rem;- padding-bottom: 0.5rem;+ padding-top: 0.3rem;+ padding-bottom: 0.3rem;}}diff --git a/admin/app/assets/stylesheets/spree/admin/global/_variables.scss b/admin/app/assets/stylesheets/spree/admin/global/_variables.scssindex 31f870e3d0..e58f2f600a 100644--- a/admin/app/assets/stylesheets/spree/admin/global/_variables.scss+++ b/admin/app/assets/stylesheets/spree/admin/global/_variables.scss@@ -50,7 +50,7 @@ $theme-colors: ();$body-color: #333 !default;-$body-bg: $gray-25 !default;+$body-bg: #FCFCFC !default;$enable-shadows: false;$enable-responsive-font-sizes: true;$font-family-sans-serif: Inter, sans-serif !default;diff --git a/admin/app/assets/stylesheets/spree/admin/shared/_base.scss b/admin/app/assets/stylesheets/spree/admin/shared/_base.scssindex 11bcaf034d..bfd3c52606 100644--- a/admin/app/assets/stylesheets/spree/admin/shared/_base.scss+++ b/admin/app/assets/stylesheets/spree/admin/shared/_base.scss@@ -665,6 +665,27 @@ div.uppy-Root {border-radius: $border-radius-lg;}+.rounded-lg-top {+ border-top-left-radius: $border-radius-lg;+ border-top-right-radius: $border-radius-lg;+}++.rounded-lg-bottom {+ border-bottom-left-radius: $border-radius-lg;+ border-bottom-right-radius: $border-radius-lg;+}++.rounded-lg-left {+ border-top-left-radius: $border-radius-lg;+ border-bottom-left-radius: $border-radius-lg;+}++.rounded-lg-right {+ border-top-right-radius: $border-radius-lg;+ border-bottom-right-radius: $border-radius-lg;+}++.turbo-progress-bar {background-color: theme-color('blue');}diff --git a/admin/app/views/spree/admin/admin_users/index.html.erb b/admin/app/views/spree/admin/admin_users/index.html.erbindex bed363ca8b..8e8a5cbea9 100644--- a/admin/app/views/spree/admin/admin_users/index.html.erb+++ b/admin/app/views/spree/admin/admin_users/index.html.erb@@ -4,12 +4,12 @@<div class="card-lg"><div class="table-responsive"><table class="table">- <thead class="text-muted">- <tr>- <th><%= Spree.t(:user) %></th>- <th><%= Spree.t(:roles) %></th>- <th><%= sort_link @search, :created_at, Spree.t(:created_at) %></th>- </tr>+ <thead>+ <tr>+ <th class="rounded-lg-top-left"><%= Spree.t(:user) %></th>+ <th><%= Spree.t(:roles) %></th>+ <th class="rounded-lg-top-right"><%= sort_link @search, :created_at, Spree.t(:created_at) %></th>+ </tr></thead><tbody><% @collection.each do |admin_user| %>diff --git a/admin/app/views/spree/admin/coupon_codes/index.html.erb b/admin/app/views/spree/admin/coupon_codes/index.html.erbindex 5ac29e6ece..d6a852dc6d 100644--- a/admin/app/views/spree/admin/coupon_codes/index.html.erb+++ b/admin/app/views/spree/admin/coupon_codes/index.html.erb@@ -42,7 +42,7 @@<div class="table-responsive"><% if @coupon_codes.any? %><table class="table">- <thead class="text-muted">+ <thead><tr data-hook="rate_header"><th><%= Spree.t(:code) %></th><th><%= Spree.t(:used) %></th>diff --git a/admin/app/views/spree/admin/custom_domains/_custom_domains.html.erb b/admin/app/views/spree/admin/custom_domains/_custom_domains.html.erbindex 05b861eb92..7d7aa61d66 100644--- a/admin/app/views/spree/admin/custom_domains/_custom_domains.html.erb+++ b/admin/app/views/spree/admin/custom_domains/_custom_domains.html.erb@@ -1,7 +1,7 @@<% if current_store.custom_domains.any? %><div class="table-responsive rounded mt-3 border"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th>Active?</th>diff --git a/admin/app/views/spree/admin/customer_returns/index.html.erb b/admin/app/views/spree/admin/customer_returns/index.html.erbindex bc1b7f29d3..ec93531dc2 100644--- a/admin/app/views/spree/admin/customer_returns/index.html.erb+++ b/admin/app/views/spree/admin/customer_returns/index.html.erb@@ -20,7 +20,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr data-hook="rate_header"><th><%= Spree.t(:number) %></th><th><%= Spree.t(:created_at) %></th>diff --git a/admin/app/views/spree/admin/digital_assets/_table.html.erb b/admin/app/views/spree/admin/digital_assets/_table.html.erbindex 2db91860b5..73eedc9087 100644--- a/admin/app/views/spree/admin/digital_assets/_table.html.erb+++ b/admin/app/views/spree/admin/digital_assets/_table.html.erb@@ -1,5 +1,5 @@<table class="table">- <thead class="text-muted">+ <thead><tr><% if @product.has_variants? %><th><%= Spree.t(:variant) %></th>diff --git a/admin/app/views/spree/admin/exports/index.html.erb b/admin/app/views/spree/admin/exports/index.html.erbindex 681f39d97e..06207b6e89 100644--- a/admin/app/views/spree/admin/exports/index.html.erb+++ b/admin/app/views/spree/admin/exports/index.html.erb@@ -4,7 +4,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:number) %></th><th class="text-center"><%= Spree.t(:kind) %></th>diff --git a/admin/app/views/spree/admin/invitations/index.html.erb b/admin/app/views/spree/admin/invitations/index.html.erbindex 0576c2d292..b11d0cad14 100644--- a/admin/app/views/spree/admin/invitations/index.html.erb+++ b/admin/app/views/spree/admin/invitations/index.html.erb@@ -3,13 +3,13 @@<div class="card-lg"><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr>- <th><%= Spree.t(:email) %></th>+ <th class="rounded-lg-top-left"><%= Spree.t(:email) %></th><th><%= Spree.t(:inviter) %></th><th><%= Spree.t(:roles) %></th><th><%= Spree.t(:status) %></th>- <th><%= sort_link @search, :created_at, Spree.t(:created_at) %></th>+ <th class="rounded-lg-top-right"><%= sort_link @search, :created_at, Spree.t(:created_at) %></th><th></th></tr></thead>diff --git a/admin/app/views/spree/admin/oauth_applications/index.html.erb b/admin/app/views/spree/admin/oauth_applications/index.html.erbindex 818c032a6f..d3764cac17 100644--- a/admin/app/views/spree/admin/oauth_applications/index.html.erb+++ b/admin/app/views/spree/admin/oauth_applications/index.html.erb@@ -19,7 +19,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th>Client ID</th>diff --git a/admin/app/views/spree/admin/option_types/index.html.erb b/admin/app/views/spree/admin/option_types/index.html.erbindex 5695a9d7c8..4304b9db18 100644--- a/admin/app/views/spree/admin/option_types/index.html.erb+++ b/admin/app/views/spree/admin/option_types/index.html.erb@@ -18,7 +18,7 @@<% if @option_types.any? %><div class="table-responsive"><table class="table" id="listing_option_types">- <thead class="text-muted">+ <thead><tr><th class="no-border handel-head"></th><th><%= Spree.t(:internal_name) %></th>diff --git a/admin/app/views/spree/admin/orders/_list.html.erb b/admin/app/views/spree/admin/orders/_list.html.erbindex e9e0f56e45..09234870e2 100644--- a/admin/app/views/spree/admin/orders/_list.html.erb+++ b/admin/app/views/spree/admin/orders/_list.html.erb@@ -1,7 +1,7 @@<% if @orders.any? %><div class="table-responsive"><table class="table position-relative" id="listing_orders">- <thead class="text-muted">+ <thead><tr><th><%= I18n.t(:number, scope: 'activerecord.attributes.spree/order') %></th><% if controller_name == 'orders' %>diff --git a/admin/app/views/spree/admin/orders/_refunds.html.erb b/admin/app/views/spree/admin/orders/_refunds.html.erbindex 18b1ea135a..3c2439cabd 100644--- a/admin/app/views/spree/admin/orders/_refunds.html.erb+++ b/admin/app/views/spree/admin/orders/_refunds.html.erb@@ -10,7 +10,7 @@<div class="card-body p-0"><div class="table-responsive"><table class="table table-condensed" id='refunds' data-order-id='<%= @order.number %>'>- <thead class="text-muted">+ <thead><tr data-hook="refunds_header" class="border-bottom"><th><%= Spree.t(:amount) %></th><th><%= Spree.t(:status) %></th>diff --git a/admin/app/views/spree/admin/orders/customer_returns/_return_item_decision.html.erb b/admin/app/views/spree/admin/orders/customer_returns/_return_item_decision.html.erbindex 49197b32db..ef93818ba3 100644--- a/admin/app/views/spree/admin/orders/customer_returns/_return_item_decision.html.erb+++ b/admin/app/views/spree/admin/orders/customer_returns/_return_item_decision.html.erb@@ -1,5 +1,5 @@<table class="show return-items-table table table-condensed index">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:product) %></th><th><%= Spree.t(:pre_tax_amount) %></th>diff --git a/admin/app/views/spree/admin/orders/return_authorizations/_form.html.erb b/admin/app/views/spree/admin/orders/return_authorizations/_form.html.erbindex 49deef1714..966ba81039 100644--- a/admin/app/views/spree/admin/orders/return_authorizations/_form.html.erb+++ b/admin/app/views/spree/admin/orders/return_authorizations/_form.html.erb@@ -3,7 +3,7 @@<div data-controller="return-items"><div class="table-responsive card-lg mb-4"><table class="table table-condensed return-items-table">- <thead class="text-muted">+ <thead><tr><th><% if allow_return_item_changes %>diff --git a/admin/app/views/spree/admin/orders/return_authorizations/show.html.erb b/admin/app/views/spree/admin/orders/return_authorizations/show.html.erbindex 772466b587..5ed39f9229 100644--- a/admin/app/views/spree/admin/orders/return_authorizations/show.html.erb+++ b/admin/app/views/spree/admin/orders/return_authorizations/show.html.erb@@ -27,7 +27,7 @@ locals: {<div class="card-lg mb-4"><div class="table-responsive"><table class="table table-condensed return-items-table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:product) %></th><th><%= Spree.t(:status) %></th>@@ -102,7 +102,7 @@ locals: {</div><div class="card-body p-0"><table class="table table-condensed">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:reimbursement_type) %></th><th><%= Spree.t(:description) %></th>diff --git a/admin/app/views/spree/admin/pages/index.html.erb b/admin/app/views/spree/admin/pages/index.html.erbindex e1b43c7d2d..a82d08c2c9 100644--- a/admin/app/views/spree/admin/pages/index.html.erb+++ b/admin/app/views/spree/admin/pages/index.html.erb@@ -10,7 +10,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:updated) %></th>diff --git a/admin/app/views/spree/admin/payment_methods/index.html.erb b/admin/app/views/spree/admin/payment_methods/index.html.erbindex f9aa00f318..88beae5073 100644--- a/admin/app/views/spree/admin/payment_methods/index.html.erb+++ b/admin/app/views/spree/admin/payment_methods/index.html.erb@@ -5,7 +5,7 @@<div class="card-lg"><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th></th><th><%= Spree.t(:payment_method) %></th>@@ -25,7 +25,7 @@<div class="card-lg"><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:description) %></th>diff --git a/admin/app/views/spree/admin/post_categories/index.html.erb b/admin/app/views/spree/admin/post_categories/index.html.erbindex 3c28a98c1f..c74356301b 100644--- a/admin/app/views/spree/admin/post_categories/index.html.erb+++ b/admin/app/views/spree/admin/post_categories/index.html.erb@@ -8,7 +8,7 @@<div class="card-lg"><div class="table-responsive rounded-lg"><table class="table">- <thead class="text-muted">+ <thead><tr><th class="w-90"><%= Spree.t(:title) %></th><th></th>diff --git a/admin/app/views/spree/admin/posts/index.html.erb b/admin/app/views/spree/admin/posts/index.html.erbindex 41438ec35d..faea725e0e 100644--- a/admin/app/views/spree/admin/posts/index.html.erb+++ b/admin/app/views/spree/admin/posts/index.html.erb@@ -11,7 +11,7 @@<% if @collection.any? %><div class="table-responsive rounded-lg"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:title) %></th><th><%= Spree.t(:category) %></th>diff --git a/admin/app/views/spree/admin/products/_list.html.erb b/admin/app/views/spree/admin/products/_list.html.erbindex 6801151231..619e61ac09 100644--- a/admin/app/views/spree/admin/products/_list.html.erb+++ b/admin/app/views/spree/admin/products/_list.html.erb@@ -6,7 +6,7 @@<div class="table-responsive"><table class="table" id="listing_products">- <thead class="text-muted">+ <thead><tr><th scope="col" class="pr-0 w-5"><%= bulk_operations_select_all_checkbox %>diff --git a/admin/app/views/spree/admin/promotions/index.html.erb b/admin/app/views/spree/admin/promotions/index.html.erbindex c1d4e1fc2d..9f4ccd5e40 100644--- a/admin/app/views/spree/admin/promotions/index.html.erb+++ b/admin/app/views/spree/admin/promotions/index.html.erb@@ -12,7 +12,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:code) %></th>diff --git a/admin/app/views/spree/admin/properties/index.html.erb b/admin/app/views/spree/admin/properties/index.html.erbindex bfcc340f1b..a333b1c38e 100644--- a/admin/app/views/spree/admin/properties/index.html.erb+++ b/admin/app/views/spree/admin/properties/index.html.erb@@ -22,7 +22,7 @@<% if @properties.present? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th class="no-border handel-head"></th><th><%= Spree.t(:internal_name) %></th>diff --git a/admin/app/views/spree/admin/refund_reasons/index.html.erb b/admin/app/views/spree/admin/refund_reasons/index.html.erbindex a9ec5bb6b2..3c6ec119f3 100644--- a/admin/app/views/spree/admin/refund_reasons/index.html.erb+++ b/admin/app/views/spree/admin/refund_reasons/index.html.erb@@ -8,7 +8,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:status) %></th>diff --git a/admin/app/views/spree/admin/reimbursement_types/index.html.erb b/admin/app/views/spree/admin/reimbursement_types/index.html.erbindex 8de709d200..211d720c64 100644--- a/admin/app/views/spree/admin/reimbursement_types/index.html.erb+++ b/admin/app/views/spree/admin/reimbursement_types/index.html.erb@@ -8,7 +8,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:type) %></th>diff --git a/admin/app/views/spree/admin/reimbursements/edit.html.erb b/admin/app/views/spree/admin/reimbursements/edit.html.erbindex 6a3605aa7f..674d6d67c0 100644--- a/admin/app/views/spree/admin/reimbursements/edit.html.erb+++ b/admin/app/views/spree/admin/reimbursements/edit.html.erb@@ -22,7 +22,7 @@ locals: {</div><div class="card-body p-0"><table class="table table-condensed reimbursement-return-items-table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:product) %></th><th><%= Spree.t(:preferred_reimbursement_type) %></th>diff --git a/admin/app/views/spree/admin/reimbursements/show.html.erb b/admin/app/views/spree/admin/reimbursements/show.html.erbindex 834c985dc9..7a35356041 100644--- a/admin/app/views/spree/admin/reimbursements/show.html.erb+++ b/admin/app/views/spree/admin/reimbursements/show.html.erb@@ -21,7 +21,7 @@ locals: {</div><div class="card-body p-0"><table class="table reimbursement-reimbursement-items-table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:product) %></th><th><%= Spree.t(:preferred_reimbursement_type) %></th>diff --git a/admin/app/views/spree/admin/reports/_report.html.erb b/admin/app/views/spree/admin/reports/_report.html.erbindex d94b9e010e..73ab88ed67 100644--- a/admin/app/views/spree/admin/reports/_report.html.erb+++ b/admin/app/views/spree/admin/reports/_report.html.erb@@ -1,7 +1,7 @@<div class="card-lg"><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><% @report.line_item_class.headers.each do |header| %><th><%= header[:label] %></th>diff --git a/admin/app/views/spree/admin/return_authorization_reasons/index.html.erb b/admin/app/views/spree/admin/return_authorization_reasons/index.html.erbindex 7fe4d10411..de638ca74b 100644--- a/admin/app/views/spree/admin/return_authorization_reasons/index.html.erb+++ b/admin/app/views/spree/admin/return_authorization_reasons/index.html.erb@@ -8,7 +8,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:status) %></th>diff --git a/admin/app/views/spree/admin/return_authorizations/_list.html.erb b/admin/app/views/spree/admin/return_authorizations/_list.html.erbindex b0c27354fd..8cd1ea5049 100644--- a/admin/app/views/spree/admin/return_authorizations/_list.html.erb+++ b/admin/app/views/spree/admin/return_authorizations/_list.html.erb@@ -1,7 +1,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:number) %></th><th><%= Spree.t(:created_at) %></th>diff --git a/admin/app/views/spree/admin/roles/index.html.erb b/admin/app/views/spree/admin/roles/index.html.erbindex 68b53ab194..20b5046a8b 100644--- a/admin/app/views/spree/admin/roles/index.html.erb+++ b/admin/app/views/spree/admin/roles/index.html.erb@@ -8,7 +8,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:permissions) %></th>diff --git a/admin/app/views/spree/admin/shared/_refunds.html.erb b/admin/app/views/spree/admin/shared/_refunds.html.erbindex d2f39766e0..110cb9fba3 100644--- a/admin/app/views/spree/admin/shared/_refunds.html.erb+++ b/admin/app/views/spree/admin/shared/_refunds.html.erb@@ -1,6 +1,6 @@<div class="table-responsive card-lg"><table class="table table-condensed" id='refunds' data-order-id='<%= @order.number %>'>- <thead class="text-muted">+ <thead><tr data-hook="refunds_header" class="border-bottom"><th><%= "#{Spree.t('date')}/#{Spree.t('time')}" %></th><th><%= Spree.t(:amount) %></th>diff --git a/admin/app/views/spree/admin/shipping_categories/index.html.erb b/admin/app/views/spree/admin/shipping_categories/index.html.erbindex f6a90ce0d8..8815a6f60c 100644--- a/admin/app/views/spree/admin/shipping_categories/index.html.erb+++ b/admin/app/views/spree/admin/shipping_categories/index.html.erb@@ -12,7 +12,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th></th>diff --git a/admin/app/views/spree/admin/shipping_methods/index.html.erb b/admin/app/views/spree/admin/shipping_methods/index.html.erbindex 79dcbe168b..c91ff819f2 100644--- a/admin/app/views/spree/admin/shipping_methods/index.html.erb+++ b/admin/app/views/spree/admin/shipping_methods/index.html.erb@@ -15,7 +15,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:zone) %></th>diff --git a/admin/app/views/spree/admin/stock_items/index.html.erb b/admin/app/views/spree/admin/stock_items/index.html.erbindex a287a1b6ca..e4f1d20dea 100644--- a/admin/app/views/spree/admin/stock_items/index.html.erb+++ b/admin/app/views/spree/admin/stock_items/index.html.erb@@ -12,7 +12,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table" id="listing_products">- <thead class="text-muted">+ <thead><tr><th scope="col"><%= Spree.t(:variant) %></th><th scope="col"><%= Spree.t(:stock_location) %></th>diff --git a/admin/app/views/spree/admin/stock_locations/index.html.erb b/admin/app/views/spree/admin/stock_locations/index.html.erbindex 0f622b53cd..8eb94c68d7 100644--- a/admin/app/views/spree/admin/stock_locations/index.html.erb+++ b/admin/app/views/spree/admin/stock_locations/index.html.erb@@ -9,7 +9,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:country) %></th>diff --git a/admin/app/views/spree/admin/stock_transfers/index.html.erb b/admin/app/views/spree/admin/stock_transfers/index.html.erbindex c26ddb28e0..f6cdc46425 100644--- a/admin/app/views/spree/admin/stock_transfers/index.html.erb+++ b/admin/app/views/spree/admin/stock_transfers/index.html.erb@@ -15,7 +15,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table" id="listing_products">- <thead class="text-muted">+ <thead><tr><th scope="col"><%= Spree.t(:number) %></th><th scope="col"><%= Spree.t(:reference) %></th>diff --git a/admin/app/views/spree/admin/store_credit_categories/index.html.erb b/admin/app/views/spree/admin/store_credit_categories/index.html.erbindex 8228562013..1f1661c8e2 100644--- a/admin/app/views/spree/admin/store_credit_categories/index.html.erb+++ b/admin/app/views/spree/admin/store_credit_categories/index.html.erb@@ -10,7 +10,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th></th>diff --git a/admin/app/views/spree/admin/store_credits/_list.html.erb b/admin/app/views/spree/admin/store_credits/_list.html.erbindex 7793d98894..0d8843b028 100644--- a/admin/app/views/spree/admin/store_credits/_list.html.erb+++ b/admin/app/views/spree/admin/store_credits/_list.html.erb@@ -1,7 +1,7 @@<% if @store_credits.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><th><%= Spree.t(:currency) %></th><th><%= Spree.t('store_credit.allocated') %></th><th><%= Spree.t('store_credit.authorized') %></th>diff --git a/admin/app/views/spree/admin/tax_categories/index.html.erb b/admin/app/views/spree/admin/tax_categories/index.html.erbindex f69b0bfe77..65ee4cd24d 100644--- a/admin/app/views/spree/admin/tax_categories/index.html.erb+++ b/admin/app/views/spree/admin/tax_categories/index.html.erb@@ -12,7 +12,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:name) %></th><th><%= Spree.t(:tax_code) %></th>diff --git a/admin/app/views/spree/admin/tax_rates/index.html.erb b/admin/app/views/spree/admin/tax_rates/index.html.erbindex 4d8338fe44..435f8914b5 100644--- a/admin/app/views/spree/admin/tax_rates/index.html.erb+++ b/admin/app/views/spree/admin/tax_rates/index.html.erb@@ -12,7 +12,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr data-hook="rate_header"><th><%= Spree.t(:name) %></th><th><%= Spree.t(:tax_category) %></th>diff --git a/admin/app/views/spree/admin/taxonomies/index.html.erb b/admin/app/views/spree/admin/taxonomies/index.html.erbindex c2a04524c3..87ca569483 100644--- a/admin/app/views/spree/admin/taxonomies/index.html.erb+++ b/admin/app/views/spree/admin/taxonomies/index.html.erb@@ -17,7 +17,7 @@<% if @taxonomies.present? %><div class="table-responsive"><table class="table" id='listing_taxonomies'>- <thead class="text-muted">+ <thead><tr data-hook="listing_taxonomies_header"><th class="no-border handel-head"></th><th><%= Spree.t(:name) %></th>diff --git a/admin/app/views/spree/admin/themes/index.html.erb b/admin/app/views/spree/admin/themes/index.html.erbindex fd761fd8d4..c019ed3663 100644--- a/admin/app/views/spree/admin/themes/index.html.erb+++ b/admin/app/views/spree/admin/themes/index.html.erb@@ -29,7 +29,7 @@<div class="card-lg"><div class="table-responsive rounded-lg"><table class="table">- <thead class="text-muted">+ <thead><tr><th class="bg-transparent"><%= Spree.t(:theme) %></th><th class="bg-transparent"><%= Spree.t(:status) %></th>diff --git a/admin/app/views/spree/admin/translations/edit.html.erb b/admin/app/views/spree/admin/translations/edit.html.erbindex 3539c2c9f9..579a72854d 100644--- a/admin/app/views/spree/admin/translations/edit.html.erb+++ b/admin/app/views/spree/admin/translations/edit.html.erb@@ -15,7 +15,7 @@<%= turbo_frame_tag :translations_table, class: "table-responsive border rounded bg-white my-3", refresh: "morph" do %><%= hidden_field_tag :translation_locale, @selected_translation_locale %><table class="table">- <thead class="text-muted">+ <thead><tr><th scope="col" class="text-center"><%= Spree.t(:field) %></th><th scope="col" class="text-center" style="width: 40%;"><%= Spree.t('i18n.this_file_language', locale: :en) %> (<%= Spree.t(:default) %>)</th>diff --git a/admin/app/views/spree/admin/users/index.html.erb b/admin/app/views/spree/admin/users/index.html.erbindex c39a05bbbb..4a0915d174 100644--- a/admin/app/views/spree/admin/users/index.html.erb+++ b/admin/app/views/spree/admin/users/index.html.erb@@ -43,7 +43,7 @@<div class="table-responsive"><table class="table" id="listing_users">- <thead class="text-muted">+ <thead><tr data-hook="admin_users_index_headers"><th scope="col" class="pr-0 w-5"><%= bulk_operations_select_all_checkbox %>diff --git a/admin/app/views/spree/admin/webhooks_subscribers/index.html.erb b/admin/app/views/spree/admin/webhooks_subscribers/index.html.erbindex ca5f321bf3..0a0bbb3a0c 100644--- a/admin/app/views/spree/admin/webhooks_subscribers/index.html.erb+++ b/admin/app/views/spree/admin/webhooks_subscribers/index.html.erb@@ -8,7 +8,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t(:url) %></th><th><%= Spree.t(:active) %></th>diff --git a/admin/app/views/spree/admin/webhooks_subscribers/show.html.erb b/admin/app/views/spree/admin/webhooks_subscribers/show.html.erbindex 56740e03f8..a66d74be68 100644--- a/admin/app/views/spree/admin/webhooks_subscribers/show.html.erb+++ b/admin/app/views/spree/admin/webhooks_subscribers/show.html.erb@@ -30,7 +30,7 @@</h5></div><table class="table card-body pb-0">- <thead class="text-muted">+ <thead><tr><th><%= Spree.t('admin.name') %></th><th><%= Spree.t('admin.successful') %></th>diff --git a/admin/app/views/spree/admin/zones/index.html.erb b/admin/app/views/spree/admin/zones/index.html.erbindex 8f00c1a082..da275c2c08 100644--- a/admin/app/views/spree/admin/zones/index.html.erb+++ b/admin/app/views/spree/admin/zones/index.html.erb@@ -16,7 +16,7 @@<% if @collection.any? %><div class="table-responsive"><table class="table">- <thead class="text-muted">+ <thead><tr><th><%= sort_link @search,:name, Spree.t(:name) %></th><th>