From 6389c552ca80daefa703a98140ed5a11341ae0a0 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 11 Sep 2018 11:41:25 +0100 Subject: [PATCH] Apply distributor th override --- .../admin/orders/index/add_distributor_th.html.haml.deface | 4 ---- app/views/spree/admin/orders/index.html.haml | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 app/overrides/spree/admin/orders/index/add_distributor_th.html.haml.deface diff --git a/app/overrides/spree/admin/orders/index/add_distributor_th.html.haml.deface b/app/overrides/spree/admin/orders/index/add_distributor_th.html.haml.deface deleted file mode 100644 index bba71ef434..0000000000 --- a/app/overrides/spree/admin/orders/index/add_distributor_th.html.haml.deface +++ /dev/null @@ -1,4 +0,0 @@ -/ insert_top "[data-hook='admin_orders_index_headers']" - -%th - = t(:products_distributor) diff --git a/app/views/spree/admin/orders/index.html.haml b/app/views/spree/admin/orders/index.html.haml index cfe3b3c2d9..54ff656939 100644 --- a/app/views/spree/admin/orders/index.html.haml +++ b/app/views/spree/admin/orders/index.html.haml @@ -63,6 +63,8 @@ %col{style: "width: 10%"} %thead %tr{"data-hook" => "admin_orders_index_headers"} + %th + = t(:products_distributor) - if @show_only_completed %th= sort_link @search, :completed_at, t(:completed_at, :scope => 'activerecord.attributes.spree/order') - else