X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0218232df5c6b4e62cced85e17a512dd6cfcae36..8884a9fff1ee4d5f6df3fc3ef43aed3a9eec9ea2:/apps/workbench/app/views/projects/_show_jobs_and_pipelines.html.erb diff --git a/apps/workbench/app/views/projects/_show_jobs_and_pipelines.html.erb b/apps/workbench/app/views/projects/_show_jobs_and_pipelines.html.erb index 1db0d9f9b8..3637ef43ca 100644 --- a/apps/workbench/app/views/projects/_show_jobs_and_pipelines.html.erb +++ b/apps/workbench/app/views/projects/_show_jobs_and_pipelines.html.erb @@ -1,8 +1,5 @@ -<% - filters = [['uuid', 'is_a', ["arvados#pipelineInstance","arvados#job"]]] - @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, scroller: 'Jobs_and_pipelines'} %> +<%= render_pane 'tab_contents', to_string: true, locals: { + limit: 50, + filters: [['uuid', 'is_a', ["arvados#job", "arvados#pipelineInstance"]]], + sortable_columns: { 'name' => 'jobs.script, pipeline_instances.name', 'description' => 'jobs.description, pipeline_instances.description' } + }.merge(local_assigns) %>