From c7e2f817ed0e9b2a873a186e27a3a9bb1a4c8cec Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 11 Sep 2018 11:34:34 +0100 Subject: [PATCH] Apply colgroup override --- .../admin/orders/index/rearrange_cols.html.haml.deface | 5 ----- app/views/spree/admin/orders/index.html.haml | 9 +-------- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 app/overrides/spree/admin/orders/index/rearrange_cols.html.haml.deface diff --git a/app/overrides/spree/admin/orders/index/rearrange_cols.html.haml.deface b/app/overrides/spree/admin/orders/index/rearrange_cols.html.haml.deface deleted file mode 100644 index 39344b460e..0000000000 --- a/app/overrides/spree/admin/orders/index/rearrange_cols.html.haml.deface +++ /dev/null @@ -1,5 +0,0 @@ -/ replace_contents "table#listing_orders colgroup" --# See also: add_capture_order_shortcut, admin/orders/index/add_distributor_*to_admin_orders - -%col{style: "width: 10%"} --# There are 8 other columns, but they seem to sort themselves out :) diff --git a/app/views/spree/admin/orders/index.html.haml b/app/views/spree/admin/orders/index.html.haml index bd38bfbf5a..1cc9bfc8a8 100644 --- a/app/views/spree/admin/orders/index.html.haml +++ b/app/views/spree/admin/orders/index.html.haml @@ -49,14 +49,7 @@ - unless @orders.empty? %table#listing_orders.index.responsive{"data-hook" => "", width: "100%", "ng-app" => "ofn.admin"} %colgroup - %col{style: "width: 16%;"} - %col{style: "width: 10%;"} - %col{style: "width: 13%;"} - %col{style: "width: 13%;"} - %col{style: "width: 13%;"} - %col{style: "width: 17%;"} - %col{style: "width: 10%;"} - %col{style: "width: 8%;"} + %col{style: "width: 10%"} %thead %tr{"data-hook" => "admin_orders_index_headers"} - if @show_only_completed