Apply colgroup override

This commit is contained in:
Matt-Yorkley
2018-09-11 11:34:34 +01:00
parent 5a2491cb47
commit c7e2f817ed
2 changed files with 1 additions and 13 deletions

View File

@@ -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 :)

View File

@@ -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