mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add phone number to shopfront contact info
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user