X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3d919829c017376eeccd27db9908b7f5a6e32aa..f107a5232d5e8788ae19daf1c5f6639f0c3cdb68:/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..304a3b5c1f 100644 --- a/apps/workbench/app/views/jobs/_show_recent.html.erb +++ b/apps/workbench/app/views/jobs/_show_recent.html.erb @@ -35,24 +35,12 @@ - <% 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 %>