Merge branch 'master' into 3198-writable-fuse
[arvados.git] / apps / workbench / app / helpers / pipeline_instances_helper.rb
index b0d5216efd1588069050d5b0d5aa371abc07492d..ba05f9e88cd7cd2f0345c993d5e60a7603e2bb8c 100644 (file)
@@ -306,4 +306,11 @@ module PipelineInstancesHelper
     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