<%= t('Pool') %>

<%= t('PID') %> <%= @pool.pid %>
<%= t('Created') %> <%= safe_relative_time(@pool.created_at.to_f) %>
<%= t('Description') %> <%= @pool.description %>
<%= t('Type') %> <%= @pool.order.to_s.upcase %>
<%= t('Concurrency') %> <%= @pool.concurrency %>
<%= t('Utilization') %> <%= @pool.active_count %>
<%= t('Pending Tasks') %> <%= @pool.pending_count %>

<%= t('Tasks') %>

<% @current_page = @current_jobs_page @total_size = @total_jobs_size %> <% if @jobs.any? && @total_size > @count.to_i %>
<%= erb get_template(:_pagination), locals: { url: "#{root_path}pools/#{@pool.pid}", page_key: :job_page } %>
<% end %>
<% if @jobs.any? %>
<% @jobs.each do |job_desc| %> <% end %>
<%= t('Job Class') %> <%= t('Parameters') %> <%= t('Wrapper Batch BID') %>
<%= job_desc['job'] %>
<%= job_desc['parameters'].to_json %>
<%= job_desc['pool_wrapper_batch'] %>
<% end %>
<%= csrf_tag %> <%= t('GoBack') %>