X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/da51b9328abab2df757ed13eadc7c3557315094b..917330c81bb370225ccd0e051dbdca3d1870710e:/apps/workbench/app/views/pipeline_instances/_show_graph.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_graph.html.erb b/apps/workbench/app/views/pipeline_instances/_show_graph.html.erb index ad3a8bb683..153659158b 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_graph.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_graph.html.erb @@ -1,15 +1,15 @@ -<% content_for :css do %> - .pipeline_color_legend { - padding-left: 1em; - padding-right: 1em; - } -<% end %> +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> <% if @pipelines.count > 1 %> -
- This pipeline - Comparison pipeline - Shared by both pipelines +
+ <%= link_to_if_arvados_object @pipelines[0], friendly_name: true %> + <%= link_to_if_arvados_object @pipelines[1], friendly_name: true %> + <% if @pipelines.count > 2 %> + <%= link_to_if_arvados_object @pipelines[2], friendly_name: true %> + <% end %> + Common to <%= @pipelines.count > 2 ? 'multiple' : 'both' %> pipelines
<% end %>