From f71df770d0db8d68398cd63cce974c91eecd5573 Mon Sep 17 00:00:00 2001 From: Syed Usama Amer Date: Mon, 6 May 2019 23:28:14 -0500 Subject: [PATCH] added social links --- app/views/shared/mailers/_social_and_contact.html.haml | 3 +++ app/views/spree/order_mailer/_signoff.html.haml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/views/shared/mailers/_social_and_contact.html.haml b/app/views/shared/mailers/_social_and_contact.html.haml index d76925c641..49c44781df 100644 --- a/app/views/shared/mailers/_social_and_contact.html.haml +++ b/app/views/shared/mailers/_social_and_contact.html.haml @@ -17,6 +17,9 @@ - if ContentConfig.footer_linkedin_url.present? %a.soc-btn.li{href: ContentConfig.footer_linkedin_url} LinkedIn + -if ContentConfig.footer_instagram_url.present? + %a.soc-btn.tw{href: ContentConfig.footer_instagram_url} + Instagram %table.column{:align => "left"} %tr %td diff --git a/app/views/spree/order_mailer/_signoff.html.haml b/app/views/spree/order_mailer/_signoff.html.haml index 53df2fa30b..7a6af4c8f0 100644 --- a/app/views/spree/order_mailer/_signoff.html.haml +++ b/app/views/spree/order_mailer/_signoff.html.haml @@ -13,3 +13,6 @@ = @order.distributor.contact.email %br = @order.distributor.website || "" + %br + = @order.distributor.instagram || "" +