X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3d919829c017376eeccd27db9908b7f5a6e32aa..18b51b1ff1f40f1c0467f1960b329c7bc317322d:/apps/workbench/app/views/jobs/_show_recent.html.erb diff --git a/apps/workbench/app/views/jobs/_show_recent.html.erb b/apps/workbench/app/views/jobs/_show_recent.html.erb index 85331f3e44..b19b7d93ed 100644 --- a/apps/workbench/app/views/jobs/_show_recent.html.erb +++ b/apps/workbench/app/views/jobs/_show_recent.html.erb @@ -7,6 +7,8 @@ } <% end %> +<%= render partial: "paging", locals: {results: objects, object: @object} %> + @@ -28,34 +30,22 @@ - <% @jobs.sort_by { |j| j[:created_at] }.reverse.each do |j| %> + <% @objects.sort_by { |j| j[:created_at] }.reverse.each do |j| %>
- <% if j.success == false %> - - <% elsif j.success %> - - <% elsif j.running %> - - <% else %> - - <% end %> + <%= render partial: 'job_status_label', locals: {:j => j} %> - <% if j.started_at and not j.finished_at %> - <% percent_total_tasks = 100 / (j.tasks_summary[:running] + j.tasks_summary[:done] + j.tasks_summary[:todo]) rescue 0 %> -
-
-
+
+ <%= render partial: 'job_progress', locals: {:j => j} %>
- <% end %>
- <%= link_to_if_arvados_object j.uuid %> + <%= link_to_if_arvados_object j %> <%= j.script %>