X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/35336cd73e444534cb2eda20e3730464cc4e6553..1dcd10a37c3dd8166ddf06053d895d546f8ad3d4:/apps/workbench/app/views/application/_pipeline_progress.html.erb diff --git a/apps/workbench/app/views/application/_pipeline_progress.html.erb b/apps/workbench/app/views/application/_pipeline_progress.html.erb index d478f65ddc..7ea2e68965 100644 --- a/apps/workbench/app/views/application/_pipeline_progress.html.erb +++ b/apps/workbench/app/views/application/_pipeline_progress.html.erb @@ -1,7 +1,11 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% component_frac = 1.0 / p.components.length %>
<% p.components.each do |k,c| %> - <% if c[:job] %> + <% if c.is_a?(Hash) and c[:job] %> <%= render partial: "job_progress", locals: {:j => c[:job], :scaleby => component_frac } %> <% end %> <% end %>