Merge branch 'origin-9043-test-edit-container-request' closes #9043
[arvados.git] / apps / workbench / app / views / projects / _show_pipeline_templates.html.erb
index c54e28dfebdb9170da31e6b5913ad1c86f49d7ad..402ce26f5911e59243bab999916fac11be29d008 100644 (file)
@@ -1,8 +1,4 @@
-<%
-  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'} %>
+<%= render_pane 'tab_contents', to_string: true, locals: {
+    filters: [['uuid', 'is_a', ["arvados#pipelineTemplate"]]],
+       sortable_columns: { 'name' => 'pipeline_templates.name', 'description' => 'pipeline_templates.description' }
+    }.merge(local_assigns) %>