mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
12 lines
683 B
Plaintext
12 lines
683 B
Plaintext
%script{ type: "text/ng-template", id: "account/transactions.html" }
|
|
.active_table.orders{"ng-controller" => "OrdersCtrl", "ng-cloak" => true}
|
|
%h3.my-orders= t(".transaction_history")
|
|
%distributor.active_table_node.row.animate-repeat{"ng-if" => "Orders.shops.length > 0", "ng-repeat" => "shop in Orders.shops",
|
|
"ng-controller" => "ShopNodeCtrl",
|
|
"ng-class" => "{'closed' : !open(), 'open' : open(), 'inactive' : !shop.active}",
|
|
id: "{{shop.hash}}"}
|
|
.small-12.columns
|
|
= render partial: "spree/users/skinny"
|
|
= render partial: "spree/users/fat"
|
|
.message{"ng-if" => "Orders.shops.length == 0", "ng-bind" => "::'you_have_no_orders_yet' | t"}
|