X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/744ca00ccd1e7fda9d4210b18c1f4a734f3b2261..b936759134f8d2b1a68b19be06de8a3f41f782d8:/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..a82d2556e7 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]} %>
$ 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)) %>