X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b28565c8aa08cbf70762fa69e49c5067fcb57e96..44c95f99098fa6c6acbfa82d4b6cbc6015eb6e39:/apps/workbench/app/views/collections/show_file_links.html.erb diff --git a/apps/workbench/app/views/collections/show_file_links.html.erb b/apps/workbench/app/views/collections/show_file_links.html.erb index de012c7bc9..8a2ce6b826 100644 --- a/apps/workbench/app/views/collections/show_file_links.html.erb +++ b/apps/workbench/app/views/collections/show_file_links.html.erb @@ -1,6 +1,10 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + -<% coll_name = (@object.name =~ /\S/) ? @object.name : "Collection #{@object.uuid}" %> +<% coll_name = "Collection #{@object.uuid}" %> <% link_opts = {controller: 'collections', action: 'show_file', uuid: @object.uuid, reader_token: params[:reader_token]} %> @@ -38,15 +42,17 @@ Arvados. You can download individual files listed below. To download the entire collection with wget, try:

$ wget --mirror --no-parent --no-host --cut-dirs=3 <%=
-         url_for(link_opts.merge(action: 'show_file_links', only_path: false))
+         url_for(link_opts.merge(action: 'show_file_links', only_path: false,
+                                 trailing_slash: true))
        %>

File Listing

-<% if @object.andand.files_tree.andand.any? %> +<% file_tree = @object.andand.files_tree %> +<% if file_tree.andand.any? %> @@ -58,9 +64,7 @@ the entire collection with wget, try: