Files
openfoodnetwork/app/views/order_cycles/_selection.html.haml
Maikel Linke 85c99102dd i18n: Replacing all language strings in app/view/
Languages strings were moved to config/locale/en.yml. All views contain
according calls to t() now.
2015-08-28 16:59:23 +10:00

16 lines
429 B
Plaintext

- if order_cycles_enabled?
#distribution-selection.row
- if current_order_cycle# && current_order_cycle.exchanges.to_enterprises(current_distributor).outgoing.any?
= render partial: "order_cycles/orders_current"
- elsif order_cycle_options.empty?
= render partial: "order_cycles/orders_closed"
- else
= render partial: "order_cycles/orders_open"
%p
%strong= link_to t(:ocs_list), shop_path