8876: work_unit views in progress
[arvados.git] / apps / workbench / app / views / jobs / _show_status.html.erb
index 807520940c9218473f01935f732556afa6cd373a..8d54b20cfd341398f9cc43377721f73f486fe606 100644 (file)
@@ -8,8 +8,7 @@
    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_component', locals: {wu: @object.work_unit(@object[:name] || "this job")})
 %>
 
 <div class="panel panel-default">