mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
Patching order cycle selector
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Darkswarm.controller "OrderCycleCtrl", ($scope, $rootScope, OrderCycle) ->
|
||||
$scope.order_cycle = OrderCycle.order_cycle
|
||||
$scope.OrderCycle = OrderCycle
|
||||
$scope.changeOrderCycle = ->
|
||||
OrderCycle.push_order_cycle()
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
%closing
|
||||
-#%img{src: "/icon/goes/here"}
|
||||
Orders close
|
||||
%strong {{ order_cycle.orders_close_at() | date_in_words }}
|
||||
%strong {{ OrderCycle.orders_close_at() | date_in_words }}
|
||||
= render partial: "shop/details"
|
||||
|
||||
%products.row
|
||||
|
||||
Reference in New Issue
Block a user