20259: Add documentation for banner and tooltip features
[arvados.git] / apps / workbench / app / views / application / _pipeline_progress.html.erb
index d478f65ddc48c164acc3d96346e6e3deabfc8eaf..7ea2e689657744346f168762ac6155f8c046f89f 100644 (file)
@@ -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| %>
-    <% if c[:job] %>
+    <% if c.is_a?(Hash) and c[:job] %>
       <%= render partial: "job_progress", locals: {:j => c[:job], :scaleby => component_frac } %>
     <% end %>
   <% end %>