X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bd86112ffba029e0f2c29c7d12ae6192e4097e18..d144724e1b48fa10e28f1e0ddddf440c6ac90ee2:/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 e592ee4959..e3c79f143b 100644 --- a/apps/workbench/app/views/collections/_show_files.html.erb +++ b/apps/workbench/app/views/collections/_show_files.html.erb @@ -1,61 +1,107 @@ -<% file_tree = @object.andand.files_tree %> -<% if file_tree.nil? or file_tree.empty? %> -

This collection is empty.

-<% else %> - - <% end %> -
  • - <% if size.nil? # This is a subdirectory. %> - <% dirstack.push(File.join(dirname, filename)) %> -
    -
    <%= filename %>
    -
    - " }.join("
  • ")) %> -<% end # if file_tree %> +
  • + <% if size.nil? # This is a subdirectory. %> + <% dirstack.push(File.join(dirname, filename)) %> +
    +
    <%= filename %>
    +
    + " }.join("
  • ")) %> + <% end # if file_tree %> + <% content_for :footer_html do %>