mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-20 00:37:26 +00:00
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
.highlight
|
|
.highlight-top
|
|
%p.right
|
|
{{ [enterprise.address.city, enterprise.address.state] | printArray}}
|
|
%h3
|
|
%i.ofn-i_036-producers
|
|
{{ enterprise.name }}
|
|
%img.hero-img{"ng-src" => "{{enterprise.promo_image}}"}
|
|
|
|
.row{bindonce: true}
|
|
.small-12.large-8.columns
|
|
%div{"ng-if" => "enterprise.long_description.length > 0 || enterprise.logo"}
|
|
%h5.modal-header About
|
|
.about-container
|
|
%img.enterprise-logo{"bo-src" => "enterprise.logo", "bo-if" => "enterprise.logo"}
|
|
%p.text-small{"ng-bind-html" => "enterprise.long_description"}
|
|
.small-12.large-4.columns
|
|
%ng-include{src: "'partials/contact.html'"}
|
|
%ng-include{src: "'partials/follow.html'"}
|
|
|
|
.row.pad-top{bindonce: true, "ng-if" => "enterprise.hubs.length > 0"}
|
|
.cta-container.small-12.columns
|
|
%h5
|
|
%i.ofn-i_029-shopping-basket
|
|
Shop for {{enterprise.name}} products at:
|
|
%a.button.hub{"ng-repeat" => "hub in enterprise.hubs",
|
|
"bo-href" => "hub.path",
|
|
"bo-class" => "{primary: hub.active, secondary: !hub.active}",
|
|
"ofn-empties-cart" => "hub"}
|
|
%i.ofn-i_033-open-sign{"bo-if" => "hub.active"}
|
|
%i.ofn-i_032-closed-sign{"bo-if" => "!hub.active"}
|
|
{{hub.name}}
|
|
.button-address {{ hub.address.city }} , {{hub.address.state}}
|
|
%i.ofn-i_007-caret-right
|
|
|
|
%a.close-reveal-modal.outside{"ng-click" => "$close()"}
|
|
%i.ofn-i_009-close
|