X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4fdfbe8fb9523451b0536042d14c2f229b75c0f3..d8c4d51e70a5141447f6259792ffd41bcd2c8209:/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 c55a7253b8..71cee7796b 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb @@ -1,24 +1,20 @@ <% if !@object.state.in? ['New', 'Ready'] %> - <% pipeline_job_uuids = [] %> +<% job_uuids = @object.components.map { |k,j| j[:job].andand[:uuid] }.compact %> -
- Current state: <%= @object.state.sub('OnServer', '') %>  -
+
" + data-object-uuids="<%= @object.uuid %> <%= job_uuids.join(' ') %>" + data-load-throttle="5000" + > +
- <%= render_pipeline_components("running", :json, pipeline_job_uuids: pipeline_job_uuids) %> + <%= render_pipeline_components("running", :json) %> - <% if @object.state.in? %w(RunningOnServer RunningOnClient Failed) %> - -

Log messages from jobs

- <% log_history = pipeline_log_history((pipeline_job_uuids || []) + [@object.uuid]) %> -
"> - <% log_history.each do |entry| %> - <%=entry%>
- <% end %> -
- - <% end %> +
+
<% else %> <%# state is either New or Ready %>