c[:job][:uuid] if c.is_a?(Hash) and c[:job].is_a?(Hash)
}.compact
job = {}
- jobuuids.each do |jobuuid|
- job[jobuuid] = Job.find?(jobuuid)
- end.compact
+ Job.where(uuid: jobuuids).each do |j|
+ job[j[:uuid]] = j
+ end
object.components.each do |cname, c|
i += 1
raw(s)
end
+ def render_unreadable_inputs_present
+ if current_user and controller.class.name.eql?('PipelineInstancesController') and unreadable_inputs_present?
+ raw('<div class="alert alert-danger unreadable-inputs-present">' +
+ '<p>One or more inputs provided are not readable by you. ' +
+ 'Please correct these before you can run the pipeline.</p></div>')
+ end
+ end
end