mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add some paragraphs and breaklines to the tempalte that used to be text and is now html
This template needs to be revisited, this is just a quick fix
This commit is contained in:
@@ -1,19 +1,30 @@
|
||||
= t('.dear_customer')
|
||||
%p
|
||||
= t('.dear_customer')
|
||||
%p
|
||||
= t('.instructions')
|
||||
|
||||
= t('.instructions')
|
||||
%p
|
||||
= "============================================================"
|
||||
%br
|
||||
= t('.shipment_summary')
|
||||
%br
|
||||
= "============================================================"
|
||||
|
||||
= "============================================================"
|
||||
= t('.shipment_summary')
|
||||
= "============================================================"
|
||||
- @shipment.manifest.each do |item|
|
||||
= item.variant.sku
|
||||
= item.variant.product.name
|
||||
= item.variant.options_text
|
||||
= "============================================================"
|
||||
%p
|
||||
- @shipment.manifest.each do |item|
|
||||
= item.variant.sku
|
||||
= item.variant.product.name
|
||||
= item.variant.options_text
|
||||
%br
|
||||
= "============================================================"
|
||||
|
||||
- if @shipment.tracking
|
||||
= t('.track_information', tracking: @shipment.tracking)
|
||||
- if @shipment.tracking_url
|
||||
= t('.track_link', url: @shipment.tracking_url)
|
||||
%p
|
||||
= t('.track_information', tracking: @shipment.tracking)
|
||||
|
||||
= t('.thanks')
|
||||
- if @shipment.tracking_url
|
||||
%p
|
||||
= t('.track_link', url: @shipment.tracking_url)
|
||||
|
||||
%p
|
||||
= t('.thanks')
|
||||
|
||||
Reference in New Issue
Block a user