X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8298d5a841ac106c408b2834dd73091405c2e180..9e2357191ca21631bcb6d8cf7a640d456a1a6cfa:/apps/workbench/app/views/projects/_show_other_objects.html.erb diff --git a/apps/workbench/app/views/projects/_show_other_objects.html.erb b/apps/workbench/app/views/projects/_show_other_objects.html.erb index 308034ed54..af6fbd1a92 100644 --- a/apps/workbench/app/views/projects/_show_other_objects.html.erb +++ b/apps/workbench/app/views/projects/_show_other_objects.html.erb @@ -1,8 +1,3 @@ -<% - filters = [['uuid', 'is_a', ["arvados#human","arvados#specimen","arvados#trait"]]] - @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: 'Other_objects'} %> +<%= render_pane 'tab_contents', to_string: true, locals: { + filters: [['uuid', 'is_a', ["arvados#human", "arvados#specimen", "arvados#trait"]]] + }.merge(local_assigns) %>