mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
56 lines
2.0 KiB
Plaintext
56 lines
2.0 KiB
Plaintext
/ Will for all the things: please add logic to include this /only/ if data is available
|
|
|
|
.content#contact
|
|
.panel
|
|
.row
|
|
.small-12.large-4.columns
|
|
%h4=current_distributor.name
|
|
%p
|
|
= current_distributor.address.address1
|
|
- if current_distributor.address.address2
|
|
%br
|
|
= current_distributor.address.address2
|
|
%br
|
|
= current_distributor.address.city
|
|
= current_distributor.address.state
|
|
= current_distributor.address.zipcode
|
|
|
|
.small-12.large-8.columns
|
|
%ul.small-block-grid-1.large-block-grid-2{bindonce: true}
|
|
- unless current_distributor.website.blank?
|
|
%li
|
|
%a{href: current_distributor.website, target: "_blank" }
|
|
%i.fi-web
|
|
= current_distributor.website
|
|
|
|
- unless current_distributor.email.blank?
|
|
%li
|
|
%a{href: current_distributor.email.reverse, mailto: true }
|
|
%i.fi-mail
|
|
%span.email
|
|
= current_distributor.email.reverse
|
|
|
|
- unless current_distributor.twitter.blank?
|
|
%li
|
|
%a{href: current_distributor.twitter, target: "_blank" }
|
|
%i.fi-social-twitter
|
|
= current_distributor.twitter
|
|
|
|
- unless current_distributor.facebook.blank?
|
|
%li
|
|
%a{href: current_distributor.facebook, target: "_blank" }
|
|
%i.fi-social-facebook
|
|
= current_distributor.facebook
|
|
|
|
- unless current_distributor.linkedin.blank?
|
|
%li
|
|
%a{href: current_distributor.linkedin, target: "_blank" }
|
|
%i.fi-social-linkedin
|
|
= current_distributor.linkedin
|
|
|
|
- unless current_distributor.instagram.blank?
|
|
%li
|
|
%a{href: current_distributor.instagram, target: "_blank" }
|
|
%i.fi-social-instagram
|
|
= current_distributor.instagram
|