projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 2257-inequality-conditions
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
pipeline_instance.rb
diff --git
a/apps/workbench/app/models/pipeline_instance.rb
b/apps/workbench/app/models/pipeline_instance.rb
index f6dbf4003fbbe41961ae2601f9d85b39d58dc1d2..ccb88351a761be86abeda65dec7346b4de76c145 100644
(file)
--- a/
apps/workbench/app/models/pipeline_instance.rb
+++ b/
apps/workbench/app/models/pipeline_instance.rb
@@
-16,12
+16,16
@@
class PipelineInstance < ArvadosBase
end
end
end
end
end
end
-
+
def attribute_editable?(attr)
def attribute_editable?(attr)
- attr
== 'name'
+ attr
.to_sym == :name || (attr.to_sym == :components and self.active == nil)
end
def attributes_for_display
super.reject { |k,v| k == 'components' }
end
end
def attributes_for_display
super.reject { |k,v| k == 'components' }
end
+
+ def self.creatable?
+ false
+ end
end
end