X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9e3bb9b984ff700fc3455f87437a8f1ac5841f0e..72d24b26cac507988ba6583064451b81d1854d78:/apps/workbench/app/views/pipeline_instances/show.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/pipeline_instances/show.html.erb b/apps/workbench/app/views/pipeline_instances/show.html.erb index cf56b9798d..0b72f6997a 100644 --- a/apps/workbench/app/views/pipeline_instances/show.html.erb +++ b/apps/workbench/app/views/pipeline_instances/show.html.erb @@ -1,89 +1,74 @@ -<% content_for :css do %> - .pipeline_color_legend { - padding-left: 1em; - padding-right: 1em; - } -table.pipeline-components-table thead th { - text-align: bottom; -} -table.pipeline-components-table div.progress { - margin-bottom: 0; -} -<% end %> -
- - - - - - - - - - - - - - - <% render_pipeline_jobs.each do |pj| %> - - - + <% end %> - - - - -
- component - - progress - <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %> - - script, version - - output -
- <% if pj[:job].andand[:uuid] %> - <%= link_to pj[:name], job_url(id: pj[:job][:uuid]) %> - <% else %> - <%= pj[:name] %> +<% 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 %> -
- <%= pj[:progress_bar] %> - <% if pj[:job].andand[:cancelled_at] %> - cancelled - <% elsif pj[:failed] %> - failed - <% elsif pj[:result] == 'queued' %> - queued - <% end %> - - <%= pj[:script] %> -
<%= pj[:script_version] %> -
- <%= link_to_if_arvados_object pj[:output] %> -
+ +<% end %> + +<% content_for :tab_line_buttons do %> -<% if @pipelines.count > 1 %> -
- This pipeline - Comparison pipeline - Shared by both pipelines +
" + > +
+ <%= 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 }%> -
+