X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1f0868d558a44c6e3ca14240b92848cacd58a866..a3222e35cda68c8e48a17921c33ac37ecb5c3bac:/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 5a867286c0..4573919286 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb @@ -8,11 +8,11 @@ <% component[:script_parameters].andand.each do |pname, pvalue_spec| %> <% if pvalue_spec.is_a? Hash %> <% if (pvalue_spec[:description] or - (pvalue_spec[:required] and not pvalue_spec[:value])) %> + ((pvalue_spec[:required] or pvalue_spec[:optional] == false) and + not pvalue_spec[:value])) %> <% n_inputs += 1 %>

@@ -31,7 +31,7 @@ <% end %> <% if n_inputs == 0 %> -

This pipeline does not need any further inputs specified. You can start it by clicking the "Run" button.

+

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 %> @@ -46,5 +46,5 @@ <% end %>
-

Click the "Components" tab above to see a full list of pipeline components and parameters.

+

Click the "Components" tab above to see a full list of pipeline settings.