X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dc45eea849bb9371b778c7401bc522c82ee84021..41d206a19a04a87e3bb54ed9a41bb7a1f9cf966f:/apps/workbench/app/views/projects/_show_tab_contents.html.erb diff --git a/apps/workbench/app/views/projects/_show_tab_contents.html.erb b/apps/workbench/app/views/projects/_show_tab_contents.html.erb index e95ba72077..36f1907a3d 100644 --- a/apps/workbench/app/views/projects/_show_tab_contents.html.erb +++ b/apps/workbench/app/views/projects/_show_tab_contents.html.erb @@ -20,29 +20,17 @@
- +
- <% - selected_objects_and_names = [] - specific_data_kinds = ['arvados#collection', 'arvados#group', 'arvados#job', 'arvados#pipelineInstance', 'arvados#pipelineTemplate'] - @objects_and_names.each do |object, name_link| - if !data_kind.any? && !specific_data_kinds.include?(object.kind) - selected_objects_and_names << [object, name_link] - elsif data_kind.include?(object.kind) - selected_objects_and_names << [object, name_link] - end - end - %> - - +
- - <%= render partial: 'show_contents_rows', locals: {project: @object, objects_and_names: selected_objects_and_names} %> + "> + <%= render partial: 'show_contents_rows', locals: {project: @object, objects_and_names: objects_and_names} %>