X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/411ce5bc5bf433c976f55fe001fe5979456207f2..85c625c40ad873d0efac33f8a63c1ee256185e36:/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb b/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb index 952337508f..60d44452c7 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% n_inputs = 0 %> <% content_for :pi_input_form do %> @@ -32,16 +36,17 @@ <% if n_inputs == 0 %>

This pipeline does not need any further inputs specified. You can start it by clicking the "Run" button whenever you're ready. (It's not too late to change existing settings, though.)

<% else %> -

Provide <%= n_inputs > 1 ? 'values' : 'a value' %> for the following <%= n_inputs > 1 ? 'parameters' : 'parameter' %>, then click the "Run" button to start the pipeline.

- <%= content_for :pi_input_form %> + <%= render_unreadable_inputs_present %> - <% if current_user.andand.is_active %> - <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'), - class: 'btn btn-primary run-pipeline-button', - method: :patch - ) do %> - Run - <% end %> +

Provide <%= n_inputs > 1 ? 'values' : 'a value' %> for the following <%= n_inputs > 1 ? 'parameters' : 'parameter' %>, then click the "Run" button to start the pipeline.

+ <% if @object.editable? %> + <%= content_for :pi_input_form %> + <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'), + class: 'btn btn-primary run-pipeline-button', + method: :patch + ) do %> + Run + <% end %> <% end %> <% end %>