<% jobs.each do |job| %> "> <% end %>
<%= I18n.t("job.status") %> <%= I18n.t("job.job_type") %> <%= I18n.t("import_job.filenames") %> <%= I18n.t("job._frontend.audit_data") %>
"> <%= I18n.t("job.status_#{job["status"]}", :default => job["status"]) %> <% if job["status"] === "queued" %> - <%= (job["queue_position"].to_i + 1).ordinalize %> <% end %> <%= I18n.t("job.job_type_#{job["job_type"]}", :default => job["job_type"]) %> <% if job['job_type'] == 'import_job' %> <%= job['job']["filenames"].join("
").html_safe %> <% else %> -- <% end %>
<%= I18n.t("job.owner") %>
<%= job["owner"] %>
<%= I18n.t("job.time_submitted") %>
<%= Time.parse(job["time_submitted"]).getlocal %>
<% if job["time_started"] %>
<%= I18n.t("job.time_started") %>
<%= Time.parse(job["time_started"]).getlocal %>
<% end %> <% if job["time_finished"] %>
<%= I18n.t("job.time_finished") %>
<%= Time.parse(job["time_finished"]).getlocal %>
<% end %>
<%= link_to I18n.t("actions.view"), {:controller => :resolver, :action => :resolve_readonly, :uri => job["uri"]}, :class => "btn btn-xs btn-default" %>