X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d66cd99b144e949dc7128e7299689ca567a761c8..b344d16c97448505432c0f0e9f9f964bfae07d50:/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 7af11752c8..a234e9f656 100644 --- a/apps/workbench/app/views/application/_selection_checkbox.html.erb +++ b/apps/workbench/app/views/application/_selection_checkbox.html.erb @@ -1,5 +1,5 @@ -<%if object %> - <% fn = if defined? friendly_name +<%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 and not friendly_name.nil? friendly_name else link_to_if_arvados_object object, {no_link: true}