[ARVADOS] created: eee66a4fd87be84379929d17864f244b0a68fd74
git at public.curoverse.com
git at public.curoverse.com
Tue Nov 11 10:17:00 EST 2014
at eee66a4fd87be84379929d17864f244b0a68fd74 (commit)
commit eee66a4fd87be84379929d17864f244b0a68fd74
Author: Phil Hodgson <bitbucket at philhodgson.net>
Date: Tue Nov 11 16:16:28 2014 +0100
3382: always show input parameters, whether value is present or not
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 4573919..65d458b 100644
--- a/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb
@@ -7,9 +7,8 @@
<% next if !component %>
<% component[:script_parameters].andand.each do |pname, pvalue_spec| %>
<% if pvalue_spec.is_a? Hash %>
- <% if (pvalue_spec[:description] or
- ((pvalue_spec[:required] or pvalue_spec[:optional] == false) and
- not pvalue_spec[:value])) %>
+ <% if pvalue_spec[:description] or
+ pvalue_spec[:required] or pvalue_spec[:optional] == false %>
<% n_inputs += 1 %>
<label for="<% "#{cname}-#{pname}" %>">
<%= @object.component_input_title(cname, pname) %>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list