From 06fffb9ef70210e41250a8323c23885721273dbc Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Fri, 7 Oct 2016 18:09:35 +1100 Subject: [PATCH] SO Index: centering data in some columns --- app/views/admin/standing_orders/_table.html.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/admin/standing_orders/_table.html.haml b/app/views/admin/standing_orders/_table.html.haml index f62396cba8..7bff479d09 100644 --- a/app/views/admin/standing_orders/_table.html.haml +++ b/app/views/admin/standing_orders/_table.html.haml @@ -28,11 +28,11 @@ -# %th.actions -#   %tr.standing_order{ :id => "so_{{standingOrder.id}}", ng: { repeat: "standingOrder in standingOrders | filter:query", class: { even: "'even'", odd: "'odd'" } } } - %td.customer{ ng: { show: 'columns.customer.visible', bind: '::standingOrder.customer.email' } } - %td.schedule{ ng: { show: 'columns.schedule.visible', bind: '::standingOrder.schedule.name' } } - %td.items{ ng: { show: 'columns.items.visible', bind: '::standingOrder.item_count' } } - %td.begins_on{ ng: { show: 'columns.begins_on.visible', bind: '::standingOrder.begins_on' } } - %td.ends_on{ ng: { show: 'columns.ends_on.visible', bind: '::standingOrder.ends_on' } } + %td.customer.text-center{ ng: { show: 'columns.customer.visible', bind: '::standingOrder.customer.email' } } + %td.schedule.text-center{ ng: { show: 'columns.schedule.visible', bind: '::standingOrder.schedule.name' } } + %td.items.text-center{ ng: { show: 'columns.items.visible', bind: '::standingOrder.item_count' } } + %td.begins_on.text-center{ ng: { show: 'columns.begins_on.visible', bind: '::standingOrder.begins_on' } } + %td.ends_on.text-center{ ng: { show: 'columns.ends_on.visible', bind: '::standingOrder.ends_on' } } %td.payment_method{ ng: { show: 'columns.payment_method.visible', bind: '::standingOrder.payment_method.name' } } %td.shipping_method{ ng: { show: 'columns.shipping_method.visible', bind: '::standingOrder.shipping_method.name' } } -# %td.actions