X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1cf946bc2ac7370431c193463ab865d71bc32ed3..964350f4132788e07a7ce1b159179a152e9cfcdc:/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb diff --git a/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb b/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb index 26082c0951..c54e28dfeb 100644 --- a/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb +++ b/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb @@ -1 +1,8 @@ -<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: @objects_and_names, data_kind: ['arvados#pipelineTemplate']} %> +<% + filters = [['uuid', 'is_a', "arvados#pipelineTemplate"]] + @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: 'Pipeline_templates'} %>