From a6bcac8a7d38d92a77f5e67b025cab1a44fb23ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87a=C4=9Fr=C4=B1=20=C3=96zkan?= Date: Thu, 19 Oct 2023 04:35:31 +0300 Subject: [PATCH] Remove text-center from subscription table td's --- app/views/admin/subscriptions/_table.html.haml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/admin/subscriptions/_table.html.haml b/app/views/admin/subscriptions/_table.html.haml index 67dced6881..4f45080694 100644 --- a/app/views/admin/subscriptions/_table.html.haml +++ b/app/views/admin/subscriptions/_table.html.haml @@ -38,19 +38,19 @@   %tbody.panel-ctrl{ object: 'subscription', ng: { repeat: "subscription in subscriptions | filter:query as filteredSubscriptions track by subscription.id" } } %tr.subscription{ :id => "so_{{subscription.id}}", ng: { class: { even: "'even'", odd: "'odd'" } } } - %td.customer.text-center{ ng: { show: 'columns.customer.visible'}} + %td.customer{ ng: { show: 'columns.customer.visible'}} %span{ "ng-bind": '::subscription.customer_email' } %br %span{ "ng-bind": '::subscription.customer_full_name' } - %td.schedule.text-center{ ng: { show: 'columns.schedule.visible', bind: '::subscription.schedule_name' } } - %td.items.panel-toggle.text-center{ name: 'products', ng: { show: 'columns.items.visible' } } + %td.schedule{ ng: { show: 'columns.schedule.visible', bind: '::subscription.schedule_name' } } + %td.items.panel-toggle{ name: 'products', ng: { show: 'columns.items.visible' } } %h5{ ng: { bind: 'itemCount(subscription)' } } - %td.orders.panel-toggle.text-center{ name: 'orders', ng: { show: 'columns.orders.visible' } } + %td.orders.panel-toggle{ name: 'orders', ng: { show: 'columns.orders.visible' } } %h5{ ng: { bind: 'subscription.not_closed_proxy_orders.length' } } - %td.status.text-center{ ng: { show: 'columns.state.visible' } } + %td.status{ ng: { show: 'columns.state.visible' } } %span.state{ ng: { class: "subscription.state", bind: "'spree.subscription_state.' + subscription.state | t" } } - %td.begins_on.text-center{ ng: { show: 'columns.begins_on.visible', bind: '::subscription.begins_at' } } - %td.ends_on.text-center{ ng: { show: 'columns.ends_on.visible', bind: '::subscription.ends_at' } } + %td.begins_on{ ng: { show: 'columns.begins_on.visible', bind: '::subscription.begins_at' } } + %td.ends_on{ ng: { show: 'columns.ends_on.visible', bind: '::subscription.ends_at' } } %td.payment_method{ ng: { show: 'columns.payment_method.visible', bind: '::paymentMethodsByID[subscription.payment_method_id].name' } } %td.shipping_method{ ng: { show: 'columns.shipping_method.visible', bind: '::shippingMethodsByID[subscription.shipping_method_id].name' } } %td.actions