mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
Adding in icons to home hubs fat and skinny views
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
%i.ofn-i_029-shopping-basket
|
||||
Shop for
|
||||
%p.trans-sentence
|
||||
%img{"ng-repeat" => "taxon in hub.taxons", "bo-src" => "taxon.icon",
|
||||
name: "{{taxon.name}}", alt: "{{taxon.name}}"}
|
||||
%span{"ng-repeat" => "taxon in hub.taxons"}
|
||||
%img{"bo-src" => "taxon.icon",
|
||||
name: "{{taxon.name}}", alt: "{{taxon.name}}"}
|
||||
{{taxon.name}}
|
||||
.columns.small-4
|
||||
%h5 Delivery options
|
||||
%ol
|
||||
|
||||
@@ -6,9 +6,16 @@
|
||||
{{ hub.address.city }}
|
||||
.columns.small-1
|
||||
{{ hub.address.state | uppercase }}
|
||||
|
||||
.columns.small-3{"bo-if" => "hub.active"}
|
||||
{{ hub.orders_close_at | sensible_timeframe }}
|
||||
|
||||
.columns.small-3{"bo-if" => "hub.active"}
|
||||
{{ hub.orders_close_at | sensible_timeframe }}
|
||||
|
||||
.columns.small-3{"bo-if" => "!hub.active"}
|
||||
%i.ofn-i_032-closed-sign
|
||||
Orders closed
|
||||
|
||||
.columns.small-1.text-right
|
||||
%i{"ng-class" => "{'ofn-i_005-caret-down' : !open(), 'ofn-i_006-caret-up' : open()}"}
|
||||
|
||||
Reference in New Issue
Block a user