X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3716ba580adb3d9ddd5452daa8e8fdfd5b3edcc0..060d38d627bd1e51dd2b3c6e7de9af6aa7d7b6f3:/apps/workbench/app/views/pipeline_instances/show.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/show.html.erb b/apps/workbench/app/views/pipeline_instances/show.html.erb index f9c9c1a7cd..881d77102c 100644 --- a/apps/workbench/app/views/pipeline_instances/show.html.erb +++ b/apps/workbench/app/views/pipeline_instances/show.html.erb @@ -1,52 +1,77 @@ -<% content_for :css do %> - .pipeline_color_legend { - padding-left: 1em; - padding-right: 1em; - } -<% end %> +<%# Copyright (C) The Arvados Authors. All rights reserved. - - - - - <% @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 %> +SPDX-License-Identifier: AGPL-3.0 %> + +<% template = PipelineTemplate.find?(@object.pipeline_template_uuid) %> +<%= content_for :content_top do %> +
+
+ <%= render partial: 'name_and_description' %> +
+ <% if template %> +
+ This pipeline was created from the template <%= link_to_if_arvados_object template, friendly_name: true %>
+ <% if template.modified_at && (template.modified_at > @object.created_at) %> + Note: This template has been modified since this instance was created. + <% 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 %> -
-
+ +<% end %> -
-This pipeline -Comparison pipeline -Shared by both pipelines -
+<% content_for :tab_line_buttons do %> + +
" + data-object-uuid="<%= @object.uuid %>" + > + <%= render partial: 'show_tab_buttons', locals: {object: @object}%> +
+ +<% end %> - <%= render partial: 'application/svg_div', locals: { - divId: "provenance_graph", - svgId: "provenance_svg", - svg: @prov_svg } %> +<%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%> -
-<%= JSON.pretty_generate(@object.attributes) rescue nil %>
-
+