mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
.row.active_table_row{"ng-click" => "toggle()", "ng-class" => "{'closed' : !open()}", bindonce: true}
|
|
.columns.small-12.medium-6.large-5.skinny-head
|
|
%a.hub{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
|
|
%i.ofn-i_040-hub
|
|
%span
|
|
%strong {{ hub.name | truncate:40}}
|
|
.columns.small-4.medium-2.large-2
|
|
{{ hub.address.city }}
|
|
.columns.small-2.medium-1.large-1
|
|
{{ hub.address.state_name | uppercase }}
|
|
|
|
.columns.small-6.medium-3.large-4.text-right{"bo-if" => "hub.active"}
|
|
%a.hub{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
|
|
%i.ofn-i_033-open-sign
|
|
%span {{ hub.orders_close_at | sensible_timeframe }}
|
|
|
|
.columns.small-6.medium-3.large-4.text-right{"bo-if" => "!hub.active"}
|
|
%a.hub{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
|
|
%i.ofn-i_032-closed-sign
|
|
%span Orders closed
|
|
|
|
|
|
|