X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/07520e24f23c3030dc063381ed9a6163ab763a0f..370df5a95b6b143885fa4d96be90c51f25f8ad14:/apps/workbench/app/views/collections/_show_files.html.erb diff --git a/apps/workbench/app/views/collections/_show_files.html.erb b/apps/workbench/app/views/collections/_show_files.html.erb index 385af8a272..5b6dac81ed 100644 --- a/apps/workbench/app/views/collections/_show_files.html.erb +++ b/apps/workbench/app/views/collections/_show_files.html.erb @@ -1,39 +1,119 @@ -
path | -file | -size | -d/l | -
---|---|---|---|
- <%= file[0] %> - | + -- <%= raw(human_readable_bytes_html(file[2])) %> - | +
-
- <%= link_to raw(''), {controller: 'collections', action: 'show_file', uuid: @object.uuid, file: file_path, size: file[2], disposition: 'attachment'}, {class: 'btn btn-info btn-sm', title: 'Download'} %>
+<% file_tree = @object.andand.files_tree %>
+<% if file_tree.nil? or file_tree.empty? %>
+ This collection is empty. +<% else %> +
+
+ <%= filename %>
+
+
- |
-