mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
.row.active_table_row{"ng-show" => "open()"}
|
|
.columns.small-12.large-4
|
|
|
|
%div{"ng-if" => "producer.supplied_taxons"}
|
|
%h5
|
|
%i.ofn-i_029-shopping-basket
|
|
Shop for
|
|
%p.trans-sentence
|
|
%span.fat-taxons{"ng-repeat" => "taxon in producer.supplied_taxons"}
|
|
%render-svg{path: "{{taxon.icon}}"}
|
|
{{taxon.name}}
|
|
.columns.small-12.large-3
|
|
|
|
%img{src: "{{ producer.logo }}" }
|
|
.columns.small-12.large-5
|
|
|
|
%div{"bo-if" => "producer.description"}
|
|
%h5 About us
|
|
%p.text-small
|
|
{{ producer.description }}
|
|
|
|
.row.active_table_row.link{"ng-show" => "open()", "bo-if" => "producer.hubs"}
|
|
.cta-container.columns.small-12
|
|
.row
|
|
.columns.small-12
|
|
%h5 Shop for {{ producer.name }} products at:
|
|
.row
|
|
.columns.small-12
|
|
%a.button.hub{"ng-repeat" => "hub in producer.hubs | orderBy:'-active'",
|
|
"bo-href" => "hub.path", "ofn-empties-cart" => "hub",
|
|
"bo-class" => "{primary: hub.active, secondary: !hub.active}"}
|
|
%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] | printArray }}
|
|
%i.ofn-i_007-caret-right
|