X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8e60aa5c834a1a2a741a87a8155b8db9b4c46da3..74fec3cd8284eae4829dad2c287588d52c621c4b:/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..d7483a6ab7 100644 --- a/apps/workbench/app/views/collections/show_file_links.html.erb +++ b/apps/workbench/app/views/collections/show_file_links.html.erb @@ -1,12 +1,16 @@ +<%# 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]} %> - <%= coll_name %> / <%= Rails.configuration.site_name %> + <%= coll_name %> / <%= Rails.configuration.Workbench.SiteName %> @@ -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: