The no shipping/payment method warnings on order cycle checkout options looks better left aligned

This commit is contained in:
Cillian O'Ruanaidh
2022-06-30 12:41:35 +01:00
committed by Filipe
parent 1a70cc0c4c
commit 8cb2767f9a

View File

@@ -40,7 +40,7 @@
= shipping_method.name
= "(#{t('.back_end')})"
- if distributor.shipping_methods.frontend.none?
%p.text-center
%p
= t('.no_shipping_methods')
%td
- if distributor.payment_methods.available(:both).any?
@@ -48,7 +48,7 @@
- payment_methods.each do |payment_method|
%li= payment_method.name
- else
%p.text-center
%p
= t('.no_payment_methods')
- if shared_payment_methods.any? || shared_shipping_methods.any?
%tr