X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4f9c8ded1490b6b2376b426a131d403f817e7549..787e77b30ed6f01ebf3ea74f4212888accf41ecf:/apps/workbench/app/views/pipeline_instances/compare.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/compare.html.erb b/apps/workbench/app/views/pipeline_instances/compare.html.erb index f75f32ab23..99caf9bcb9 100644 --- a/apps/workbench/app/views/pipeline_instances/compare.html.erb +++ b/apps/workbench/app/views/pipeline_instances/compare.html.erb @@ -1,44 +1,15 @@ - - - - - - <% @objects.each do |object| %> - - <% end %> - - -
- - - - - - <% object.attributes_for_display.each do |attr, attrvalue| %> - <% if attr == 'components' and attrvalue.is_a? Hash %> - - - - <% else %> - <%= render partial: 'application/arvados_object_attr', locals: { attr: attr, attrvalue: attrvalue } %> - <% end %> - <% end %> - -
<%= attr %> - - <% pipeline_jobs.each do |pj| %> - <% %w(index name result job_link script script_version progress_detail progress_bar output_link).each do |key| %> - - <% end %> - - <% end %> -
- <% if key == 'script_version' %> - <%= pj[key.to_sym][0..6] rescue '' %> - <% else %> - <%= pj[key.to_sym] %> - <% end %> -
-
- -
+<% if (o = Group.find?(@objects.first.owner_uuid)) %> + <% content_for :breadcrumbs do %> + +
  • + <%= link_to(o.name, project_path(o.uuid)) %> +
  • + +
  • + <%= link_to '#' do %>compare pipelines<% end %> +
  • + <% end %> +<% end %> +<%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.compare_pane_list } %>