From 2c2352cd4eea477cddad33fe879f58ca236e8304 Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 27 Feb 2015 17:14:33 +1100 Subject: [PATCH] Final tweaks to different layout use cases for these emails. --- .../spree/order_mailer/confirm_email_for_customer.html.haml | 5 +++-- .../spree/order_mailer/confirm_email_for_shop.html.haml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/spree/order_mailer/confirm_email_for_customer.html.haml b/app/views/spree/order_mailer/confirm_email_for_customer.html.haml index 83f0f66505..497649f844 100644 --- a/app/views/spree/order_mailer/confirm_email_for_customer.html.haml +++ b/app/views/spree/order_mailer/confirm_email_for_customer.html.haml @@ -142,10 +142,11 @@ - if @order.order_cycle.andand.pickup_instructions_for(@order.distributor) %p %strong Collection instructions: - %br - %em #{@order.order_cycle.pickup_instructions_for(@order.distributor)} + %br + #{@order.order_cycle.pickup_instructions_for(@order.distributor)} - if @order.special_instructions.present? + %br %p %small %strong Customer notes / custom delivery instructions: diff --git a/app/views/spree/order_mailer/confirm_email_for_shop.html.haml b/app/views/spree/order_mailer/confirm_email_for_shop.html.haml index 35c7593f45..c2dc363876 100644 --- a/app/views/spree/order_mailer/confirm_email_for_shop.html.haml +++ b/app/views/spree/order_mailer/confirm_email_for_shop.html.haml @@ -142,10 +142,11 @@ - if @order.order_cycle.andand.pickup_instructions_for(@order.distributor) %p %strong Collection instructions: - %br - %em #{@order.order_cycle.pickup_instructions_for(@order.distributor)} + %br + #{@order.order_cycle.pickup_instructions_for(@order.distributor)} - if @order.special_instructions.present? + %br %p %small %strong Customer notes / custom delivery instructions: