ref: master
plugins/orders_cycle/views/orders_cycle_plugin_cycle/index.html.erb
<% cycles = @open_cycles %><%= t('views.cycle.index.orders_cycles') %>
<%= link_to t('views.cycle.index.new_cycle'), {:action => :new}, :class => 'cycle-new' %><%= t('views.cycle.index.open_cycles') %>
<% if cycles.blank? %><%= t('views.cycle.index.no_cycles_to_show') %><% else %> <% cycles.each do |cycle| %><%= render 'header', :cycle => cycle, :timeline => true, :actions => false, :listing => true %><% end %> <% end %><%= t('views.cycle.index.closed_cycles') %>
<%= render "orders_cycle_plugin_shared/filter", :type => :orders_cycle, :wireframe_size => true %><%= render 'results' %>