X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3d919829c017376eeccd27db9908b7f5a6e32aa..fcd19228447a2983c7aba8a0f09984eba06ded48:/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..5034b28b11 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,11 @@ -<% content_for :css do %> - .pipeline_color_legend { - padding-left: 1em; - padding-right: 1em; - } -<% end %> - <% 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 %>