Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_graph.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <% if @pipelines.count > 1 %>
6   <div style="text-align: center; padding-top: 0.5em">
7     <span class="pipeline_color_legend" style="background: #aaffaa"><%= link_to_if_arvados_object @pipelines[0], friendly_name: true %></span>
8     <span class="pipeline_color_legend" style="background: #aaaaff"><%= link_to_if_arvados_object @pipelines[1], friendly_name: true %></span>
9     <% if @pipelines.count > 2 %>
10     <span class="pipeline_color_legend" style="background: #ffaaaa"><%= link_to_if_arvados_object @pipelines[2], friendly_name: true %></span>
11     <% end %>
12     <span class="pipeline_color_legend" style="background: #aaaaaa">Common to <%= @pipelines.count > 2 ? 'multiple' : 'both' %> pipelines</span>
13   </div>
14 <% end %>
15
16 <%= render partial: 'application/svg_div', locals: {
17       divId: "provenance_graph", 
18       svgId: "provenance_svg", 
19       svg: @prov_svg } %>