From 819cf5cc4935fef24acbb1133a077c539179d7b1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Mon, 5 Dec 2022 09:49:00 +0100 Subject: [PATCH] Add this `td` even if empty easier to design table then --- app/views/spree/admin/orders/_shipment.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/orders/_shipment.html.haml b/app/views/spree/admin/orders/_shipment.html.haml index b66d73bd0d..7988592754 100644 --- a/app/views/spree/admin/orders/_shipment.html.haml +++ b/app/views/spree/admin/orders/_shipment.html.haml @@ -57,8 +57,8 @@ %span = shipment.fee_adjustment.display_amount - - if shipment.fee_adjustment.present? && shipment.can_modify? - %td.actions + %td.actions + - if shipment.fee_adjustment.present? && shipment.can_modify? - if can? :update, shipment = link_to '', '', :class => 'edit-method icon_link icon-edit no-text with-tip', :data => { :action => 'edit' }, :title => Spree.t('edit')