X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/222ce2930a9ab719e2f6f8d0c9268535f7b50abf..7139cabb0d75c946b53c128676d0597881ae2700:/apps/workbench/app/views/jobs/_show_status.html.erb diff --git a/apps/workbench/app/views/jobs/_show_status.html.erb b/apps/workbench/app/views/jobs/_show_status.html.erb index 976bf194f7..807520940c 100644 --- a/apps/workbench/app/views/jobs/_show_status.html.erb +++ b/apps/workbench/app/views/jobs/_show_status.html.erb @@ -1,34 +1,36 @@ -
+
+<%= + 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}) +%> -
" - data-object-uuid="<%= @object.uuid %>" - data-load-throttle="5000" - > -
- <%= render 'show_job_component' %> +
+
+ Used in pipelines
-
-
- -
-
- Used in pipelines -
-
-<% pi = PipelineInstance.order("created_at desc").filter([["components", "like", "%#{@object.uuid}%"]]) %> +
+ <% pi = PipelineInstance.order("created_at desc").filter([["components", "like", "%#{@object.uuid}%"]]) %> -<% pi.each do |pipeline| %> - <% pipeline.components.each do |k, v| %> - <% if v[:job] and v[:job][:uuid] == @object.uuid %> -
- <%= k %> component of <%= link_to_if_arvados_object pipeline, friendly_name: true %> - created at <%= render_localized_date(pipeline.created_at) %>. -
+ <% pi.each do |pipeline| %> + <% pipeline.components.each do |k, v| %> + <% if v[:job] and v[:job][:uuid] == @object.uuid %> +
+ <%= k %> + component of + <%= link_to_if_arvados_object pipeline, friendly_name: true %> + created at + <%= render_localized_date(pipeline.created_at) %>. +
+ <% end %> + <% end %> <% end %> - <% end %> -<% end %> -
+