X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dc45eea849bb9371b778c7401bc522c82ee84021..8e76d0a54757172747f93eaa797e6d1746f8cd32:/apps/workbench/app/views/projects/_show_data_collections.html.erb?ds=sidebyside
diff --git a/apps/workbench/app/views/projects/_show_data_collections.html.erb b/apps/workbench/app/views/projects/_show_data_collections.html.erb
index a8b58b8448..3c8607ef40 100644
--- a/apps/workbench/app/views/projects/_show_data_collections.html.erb
+++ b/apps/workbench/app/views/projects/_show_data_collections.html.erb
@@ -1,3 +1,4 @@
+<% if @object.uuid != current_user.uuid # Not the "Home" project %>
<% content_for :content_top do %>
@@ -8,6 +9,7 @@
<%= render_editable_attribute @object, 'description', nil, { 'data-emptytext' => "(No description provided)", 'data-toggle' => 'manual' } %>
+<% end %>
<% end %>
<% content_for :tab_line_buttons do %>
@@ -41,6 +43,7 @@
choose_projects_path(
title: 'Move this project to...',
editable: true,
+ my_root_selectable: true,
action_name: 'Move',
action_href: project_path(@object.uuid),
action_method: 'put',
@@ -54,4 +57,11 @@
<% end %>
<% end %>
-<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: @objects_and_names, data_kind: ['arvados#collection']} %>
+<%
+ filters = [['uuid', 'is_a', "arvados#collection"]]
+ @objects = @object.contents({limit: 50, include_linked: true, :filters => filters})
+ objects_and_names = get_objects_and_names @objects
+ page_offset = next_page_offset @objects
+%>
+
+<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, tab_name: 'Data_collections'} %>