20259: Add documentation for banner and tooltip features
[arvados.git] / apps / workbench / app / views / projects / _show_pipeline_templates.html.erb
index c54e28dfebdb9170da31e6b5913ad1c86f49d7ad..40ba6bd586e3f81d9e1d260495b3f9b62de8d4b5 100644 (file)
@@ -1,8 +1,9 @@
-<%
-  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
-%>
+<%# Copyright (C) The Arvados Authors. All rights reserved.
 
-<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, tab_name: 'Pipeline_templates'} %>
+SPDX-License-Identifier: AGPL-3.0 %>
+
+<%= render_pane 'tab_contents', to_string: true, locals: {
+    limit: 50,
+    filters: [['uuid', 'is_a', ["arvados#pipelineTemplate", "arvados#workflow"]]],
+       sortable_columns: { 'name' => 'pipeline_templates.name, workflows.name', 'description' => 'pipeline_templates.description, workflows.description' }
+    }.merge(local_assigns) %>