projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3149: Merge branch 'master' into 3149-server-side-search
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
application
/
_selection_checkbox.html.erb
diff --git
a/apps/workbench/app/views/application/_selection_checkbox.html.erb
b/apps/workbench/app/views/application/_selection_checkbox.html.erb
index 9d279bc402fac12dfd433075c5f2876dbaab4394..de880dd8c6fbe95acad050a0c6c44d7eca3ac91d 100644
(file)
--- a/
apps/workbench/app/views/application/_selection_checkbox.html.erb
+++ b/
apps/workbench/app/views/application/_selection_checkbox.html.erb
@@
-1,4
+1,4
@@
-<%if object and object.
class.goes_in_projects?
%>
+<%if object and object.
uuid and (object.class.goes_in_projects? or (object.is_a?(Link) and ArvadosBase::resource_class_for_uuid(object.head_uuid).to_s == 'Collection'))
%>
<% fn = if defined? friendly_name
friendly_name
else
<% fn = if defined? friendly_name
friendly_name
else