mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Update contact markup to reflect new design
This commit is contained in:
committed by
Will Marshall
parent
9b532205e5
commit
a5e412fbe9
@@ -1,16 +1,12 @@
|
||||
%div{"bo-if" => "producer.email || producer.website || producer.address.phone"}
|
||||
%h3 Contact
|
||||
%div.modal-centered{"bo-if" => "producer.email || producer.website || producer.address.phone"}
|
||||
%h5.modal-header Contact
|
||||
%p{"ng-if" => "producer.address.phone"}
|
||||
{{ producer.address.phone }}
|
||||
|
||||
%p{"bo-if" => "producer.email"}
|
||||
%a{"ng-href" => "mailto:{{producer.email | stripUrl}}", target: "_blank" }
|
||||
%i.ofn-i_050-mail-circle
|
||||
{{ producer.email | stripUrl }}
|
||||
|
||||
%p{"ng-if" => "producer.address.phone"}
|
||||
WE NEED A PHONE ICON
|
||||
{{ producer.address.phone }}
|
||||
|
||||
%p{"ng-if" => "producer.website"}
|
||||
%a{"ng-href" => "http://{{producer.website | stripUrl}}", target: "_blank" }
|
||||
%i.ofn-i_049-web
|
||||
{{ producer.website | stripUrl }}
|
||||
|
||||
Reference in New Issue
Block a user