X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c16a97576716f81c721bcd0c889309cb75e3eb9a..7f1e7f793bd1b5efa73df51b3070c5acb8fcdc82:/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
diff --git a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
index c6f7f9a898..560b3a512b 100644
--- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
@@ -1,72 +1,21 @@
-<% 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 %>
-
+<% if !@object.state.in? ['New', 'Ready'] %>
-
- 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 - <% end %> - |
- <%= pj[:script] %>
- <%= pj[:script_version] %> - | - <%= link_to_if_arvados_object pj[:output] %> - | -
Here are all of the pipeline's components (jobs that will need to run in order to complete the pipeline). If you know what you're doing (or you're experimenting) you can modify these parameters before starting the pipeline. Usually, you only need to edit the settings presented on the "Inputs" tab above.
+ + <%= render_pipeline_components("editable", :json, editable: true) %> <% end %>