Merge pull request #2299 from frank-west-iii/issue-1832-phone-shopfront

Add phone number to shopfront contact info
This commit is contained in:
Maikel
2018-05-30 08:27:07 +10:00
committed by GitHub

View File

@@ -18,11 +18,14 @@
= current_distributor.address.zipcode
.small-12.large-4.columns
- if current_distributor.website || current_distributor.email_address
- if current_distributor.website || current_distributor.email_address || current_distributor.phone
%div.center
.header
= t :shopping_contact_web
%p
- unless current_distributor.phone.blank?
= current_distributor.phone
%br
- unless current_distributor.website.blank?
%a{href: "http://#{current_distributor.website}", target: "_blank" }
= current_distributor.website