X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c912d9d8d9e2a055a53967c5b01242c321dfbeb6..85c625c40ad873d0efac33f8a63c1ee256185e36:/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 %>