X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c16a97576716f81c721bcd0c889309cb75e3eb9a..6db406e9a2fc78ed204460deb73151f44d94b030:/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..e96ff16240 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,22 @@ <% content_for :css do %> .pipeline_color_legend { - padding-left: 1em; - padding-right: 1em; + margin-top: 0.2em; + padding: 0.2em 1em; + border: 1px solid #000; + } + .pipeline_color_legend a { + color: #000; } <% 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 %>