X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/80be122d6b73044f5e3f740b5c38a38d3b3f79d7..b2d825bd6059d843b1ae1917ff22e4de3cfc4f5a:/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..881d77102c 100644
--- a/apps/workbench/app/views/pipeline_instances/show.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/show.html.erb
@@ -1,89 +1,77 @@
-<% 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 %>
-
+<%# Copyright (C) The Arvados Authors. All rights reserved.
-
- 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] %> - <% end %> - |
- <%= pj[:progress_bar] %>
- <% if pj[:job].andand[:cancelled_at] %>
- cancelled
- <% elsif pj[:failed] %>
- failed
- <% elsif pj[:result] == 'queued' %>
- queued
+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 %> - |
- <%= pj[:script] %>
- <%= pj[:script_version] %> - | - <%= link_to_if_arvados_object pj[:output] %> - | -