From d2dcfa5848c00e3f402c28dcec9443b53c313445 Mon Sep 17 00:00:00 2001 From: Nihal Mohammed Date: Fri, 20 Aug 2021 13:15:44 +0530 Subject: [PATCH] Undo changes --- 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 fbc4f3ae9f..aae6fdcebe 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, mailto: true, target: '_blank'} + %a{href: ContentConfig.footer_email.reverse, 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 bc8ec6b4ca..df487609bd 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 - = current_distributor.email_address + %span.email + = current_distributor.email_address.reverse .small-12.large-4.columns - if current_distributor.twitter.present? || current_distributor.facebook.present? || current_distributor.linkedin.present? || current_distributor.instagram.present?