Adding in icons to home hubs fat and skinny views

This commit is contained in:
summerscope
2014-06-04 17:09:50 +10:00
parent 8d24301c26
commit 825ec1bb63
2 changed files with 11 additions and 2 deletions

View File

@@ -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

View File

@@ -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()}"}