X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8716b38d3cd20640c28b6fe048927309a0f916cd..4077a9af0985d3c85f2f2de2bb7a0f6be581e71e:/apps/workbench/app/views/pipeline_instances/_show_components.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb index 94cbf98489..7735997748 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb @@ -1,14 +1,13 @@ <% if !@object.state.in? ['New', 'Ready'] %> -
- Current state: - <% if @object.state == "RunningOnServer" %> - Active - <% else %> - <%= @object.state %> - <% end %> -   -
+ <% + job_uuids = @object.components.map { |k,j| j.is_a? Hash and j[:job].andand[:uuid] }.compact + throttle = @object.state.start_with?('Running') ? 5000 : 15000 + %> +
<%= render_pipeline_components("running", :json) %>