closes #9372
[arvados.git] / apps / workbench / app / views / jobs / _show_status.html.erb
index 807520940c9218473f01935f732556afa6cd373a..6b1ea03c2ba63ee0dfcaf9d183076b57519df64d 100644 (file)
@@ -1,16 +1,4 @@
-<div class="arv-log-refresh-control"
-     data-load-throttle="15000"
-     ></div>
-<%=
-   pj = {}
-   pj[:job] = @object
-   pj[:name] = @object[:name] || "this job"
-   pj[:progress_bar] = render(partial: "job_progress",
-                              locals: {:j => @object })
-   tasks = JobTask.filter([['job_uuid', '=', @object.uuid]]).results
-   render(partial: 'pipeline_instances/running_component',
-          locals: { tasks: tasks, pj: pj, i: 0, expanded: true})
-%>
+<%= render(partial: 'work_unit/show_status', locals: {current_obj: @object, name: @object[:name] || 'this job'}) %>
 
 <div class="panel panel-default">
   <div class="panel-heading">