mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
The no shipping/payment method warnings on order cycle checkout options looks better left aligned
This commit is contained in:
committed by
Filipe
parent
1a70cc0c4c
commit
8cb2767f9a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user