Add phone number to shopfront contact info

This commit is contained in:
Frank West
2018-05-18 14:05:28 -07:00
parent d218a51d96
commit f995a04ebf

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