Allow copy paste of email from contact tab and footer without reversing

This commit is contained in:
Nihal Mohammed
2021-08-13 15:43:39 +05:30
parent d1b22dfff3
commit 2be8e15797
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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?