Files
openfoodnetwork/app/views/shared/mailers/_social_and_contact.html.haml
Syed Usama Amer f71df770d0 added social links
2019-05-06 23:28:14 -05:00

32 lines
1.1 KiB
Plaintext

%table.social{ :width => "100%" }
%tr
%td
/ column 1
%table.column{:align => "left"}
%tr
%td
%h5
= t :email_social
%p.social-icons
- if ContentConfig.footer_facebook_url.present?
%a.soc-btn.fb{href: ContentConfig.footer_facebook_url}
Facebook
- if ContentConfig.footer_twitter_url.present?
%a.soc-btn.tw{href: ContentConfig.footer_twitter_url}
Twitter
- 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
- if ContentConfig.footer_email.present?
%h5
= t :email_contact
%strong
= mail_to ContentConfig.footer_email
%span.clear