[ARVADOS] updated: 80e6691141b54be951b4402b9109bd6b1b9f2ebb

git at public.curoverse.com git at public.curoverse.com
Wed Feb 12 14:54:00 EST 2014


Summary of changes:
 apps/workbench/app/models/pipeline_instance.rb |    4 ++++
 apps/workbench/app/models/pipeline_template.rb |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)

       via  80e6691141b54be951b4402b9109bd6b1b9f2ebb (commit)
      from  cbbfc43117251de9ea8eb858b02b50809b488717 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 80e6691141b54be951b4402b9109bd6b1b9f2ebb
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Feb 12 11:52:46 2014 -0800

    Hide "Create" button on pipeline_instances and pipeline_templates pages. Closes #2098

diff --git a/apps/workbench/app/models/pipeline_instance.rb b/apps/workbench/app/models/pipeline_instance.rb
index f6dbf40..da6116e 100644
--- a/apps/workbench/app/models/pipeline_instance.rb
+++ b/apps/workbench/app/models/pipeline_instance.rb
@@ -24,4 +24,8 @@ class PipelineInstance < ArvadosBase
   def attributes_for_display
     super.reject { |k,v| k == 'components' }
   end
+
+  def self.creatable?
+    false
+  end
 end
diff --git a/apps/workbench/app/models/pipeline_template.rb b/apps/workbench/app/models/pipeline_template.rb
index f5dfb6a..fb12a81 100644
--- a/apps/workbench/app/models/pipeline_template.rb
+++ b/apps/workbench/app/models/pipeline_template.rb
@@ -1,2 +1,5 @@
 class PipelineTemplate < ArvadosBase
+  def self.creatable?
+    false
+  end
 end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list