From 2be8e15797522cfe26d9c952fe9ef9d29dd6e20a Mon Sep 17 00:00:00 2001 From: Nihal Mohammed Date: Fri, 13 Aug 2021 15:43:39 +0530 Subject: [PATCH] Allow copy paste of email from contact tab and footer without reversing --- app/views/shared/_footer.html.haml | 2 +- app/views/shopping_shared/tabs/_contact.html.haml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/shared/_footer.html.haml b/app/views/shared/_footer.html.haml index aae6fdcebe..fbc4f3ae9f 100644 --- a/app/views/shared/_footer.html.haml +++ b/app/views/shared/_footer.html.haml @@ -53,7 +53,7 @@ %i.ofn-i_045-pintrest - if ContentConfig.footer_email.present? %p - %a{href: ContentConfig.footer_email.reverse, mailto: true, target: '_blank'} + %a{href: ContentConfig.footer_email, mailto: true, target: '_blank'} = t '.footer_contact_email' = render_markdown(ContentConfig.footer_links_md).html_safe diff --git a/app/views/shopping_shared/tabs/_contact.html.haml b/app/views/shopping_shared/tabs/_contact.html.haml index df487609bd..bc8ec6b4ca 100644 --- a/app/views/shopping_shared/tabs/_contact.html.haml +++ b/app/views/shopping_shared/tabs/_contact.html.haml @@ -32,8 +32,8 @@ %br - if current_distributor.email_address.present? %a{href: current_distributor.email_address.reverse, mailto: true} - %span.email - = current_distributor.email_address.reverse + %span + = current_distributor.email_address .small-12.large-4.columns - if current_distributor.twitter.present? || current_distributor.facebook.present? || current_distributor.linkedin.present? || current_distributor.instagram.present?