projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '17719-keep-web-pdh-cache'
[arvados.git]
/
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 d478f65ddc48c164acc3d96346e6e3deabfc8eaf..7ea2e689657744346f168762ac6155f8c046f89f 100644
(file)
--- 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 %>
<div class="progress">
<% p.components.each do |k,c| %>
<% component_frac = 1.0 / p.components.length %>
<div class="progress">
<% 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 %>
<%= render partial: "job_progress", locals: {:j => c[:job], :scaleby => component_frac } %>
<% end %>
<% end %>