mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
56 lines
2.1 KiB
Plaintext
56 lines
2.1 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
|
|
- unless current_distributor.address.address2.blank?
|
|
%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: "http://#{current_distributor.website}", target: "_blank" }
|
|
%i.ofn-i_049-web
|
|
= current_distributor.website
|
|
|
|
- unless current_distributor.email.blank?
|
|
%li
|
|
%a{href: current_distributor.email.reverse, mailto: true }
|
|
%i.ofn-i_050-mail-circle
|
|
%span.email
|
|
= current_distributor.email.reverse
|
|
|
|
- unless current_distributor.twitter.blank?
|
|
%li
|
|
%a{href: "http://twitter.com/#{current_distributor.twitter}", target: "_blank" }
|
|
%i.ofn-i_041-twitter
|
|
= current_distributor.twitter
|
|
|
|
- unless current_distributor.facebook.blank?
|
|
%li
|
|
%a{href: "http://#{current_distributor.facebook}", target: "_blank" }
|
|
%i.ofn-i_044-facebook
|
|
= current_distributor.facebook
|
|
|
|
- unless current_distributor.linkedin.blank?
|
|
%li
|
|
%a{href: "http://#{current_distributor.linkedin}", target: "_blank" }
|
|
%i.ofn-i_042-linkedin
|
|
= current_distributor.linkedin
|
|
|
|
- unless current_distributor.instagram.blank?
|
|
%li
|
|
%a{href: "http://instagram.com.#{current_distributor.instagram}", target: "_blank" }
|
|
%i.ofn-i_043-instagram
|
|
= current_distributor.instagram
|