<% if category.name == :main %>
|
<%= @job.record_count %> |
<% if @job.completed? %>
|
<%= job_records_per_hour(@job) %> |
<% elsif @job.running? || @job.paused? || @job.failed? %>
|
<%= @job.percent_complete %> % |
<% if @job.running? %>
|
<%= job_estimated_time_left(@job) %> |
<% end %>
|
<%= @job.input.queued.count %> |
|
<%= @job.input.running.count %> |
|
<%= @job.input.failed.count %> |
<% end %>
|
<%= category.slice_size %> |
<% end %>
<% if category.serializer %>
|
<%= category.serializer %> |
<% end %>
<% if category.file_name %>
|
<%= category.file_name %> |
<% end %>
<% if category.format %>
|
<%= category.format %> |
|
<%= category.header_cleanser %> |
<% if category.allowed_columns %>
|
<%= category.allowed_columns.ai(plain: true) %> |
<% end %>
<% if category.required_columns %>
|
<%= category.required_columns.ai(plain: true) %> |
<% end %>
<% if category.skip_unknown %>
|
<%= category.skip_unknown %> |
<% end %>
<% if category.mode != :line %>
|
<%= category.mode %> |
<% end %>
<% if category.format_options %>
|
<%= category.format_options.ai(plain: true, ruby19_syntax: true, sort_keys: true) %>
|
<% end %>
<% end %>
<% if category.columns %>
<% first = true %>
<% category.columns.each do |item| %>
<% if first %>
|
<%= item %> |
<% first = false %>
<% else %>
|
<%= item %> |
<% end %>
<% end %>
<% end %>