% set_re_javascript_include ['re_pipeline_index', 're_pipeline_new', 're_job_index', 're_pipeline_index_jobs'] %>
<% if rules_engine_editor? %>
<% set_re_breadcrumbs_right link_to("All Pipelines", re_pipelines_path, :class => "re-pipeline-list"),
link_to("New Pipeline", new_re_pipeline_path, :class => "re-pipeline-new dkgreen", :id => "re_pipeline_new")%>
<% else %>
<% set_re_breadcrumbs link_to("All Pipelines", re_pipelines_path, :class => "re-pipeline-list") %>
<% end %>
<%= render 'empty', :hide => !@re_pipelines.empty? %>
<% @re_pipelines.each do | re_pipeline | %>
<%= render 'index', :re_pipeline => re_pipeline %>
<% end %>
<% if rules_engine_editor? && !@re_pipelines.empty? %>
<%= link_to("Activate All Pipelines", "#", :id => "re_pipeline_activate_all") %>
<% end %>
<%= link_to("Pipeline Job Audit", re_jobs_path) %>
<%= render '/re_jobs/empty', :hide => true %>
Updating Job List
<% re_whitebox do %>
Confirm : Activate All Pipelines
<%= re_button_link_green('Activate All Pipelines', "#", :id => "re_pipeline_activate_all_ok") %>
<%= re_button_link_orange('Cancel', "#", :id => "re_pipeline_activate_all_cancel") %>
<% end %>
<% re_form_for(:re_pipeline, :url => activate_all_re_pipelines_path, :html => {:method => :put, :id => "re_pipeline_activate_all_form"}) do |f| %>
<% end %>