mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-03 06:59:14 +00:00
Changes to views/checkout/details.html.haml:line 98 and changes to view/checkout/payment.html.haml:line 32
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
%div.checkout-input{"data-shippingmethod-target": "shippingMethodDescription", "data-shippingmethodid": shipping_method.id , style: "display: #{ship_method_is_selected ? 'block' : 'none'}" }
|
||||
#distributor_address.panel
|
||||
- if shipping_method.description.present?
|
||||
%span #{simple_format(shipping_method.description)}
|
||||
= simple_format(html_escape(shipping_method.description))
|
||||
%br/
|
||||
%br/
|
||||
- if @order.order_cycle.pickup_time_for(@order.distributor)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
.paymentmethod-container{"data-paymentmethod-id": "#{payment_method.id}", style: "display: #{payment_method.id == selected_payment_method ? "block" : "none"}"}
|
||||
- if payment_method.description && !payment_method.description.empty?
|
||||
.paymentmethod-description.panel
|
||||
#{simple_format(payment_method.description)}
|
||||
= simple_format(html_escape(payment_method.description))
|
||||
.paymentmethod-form
|
||||
= render partial: "checkout/payment/#{payment_method.method_type}", locals: { payment_method: payment_method, f: f }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user