1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
5 <% component_frac = 1.0 / p.components.length %>
7 <% p.components.each do |k,c| %>
8 <% if c.is_a?(Hash) and c[:job] %>
9 <%= render partial: "job_progress", locals: {:j => c[:job], :scaleby => component_frac } %>