X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3ba5aa15ea0156a4fce63dcb43b7f972b4c760df..8deda2012ea7e25610f2cbd0a271e131d9364503:/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 c5c12792ce..76d8731a93 100644 --- a/apps/workbench/app/views/collections/_show_files.html.erb +++ b/apps/workbench/app/views/collections/_show_files.html.erb @@ -1,22 +1,72 @@ -<% content_for :tab_line_buttons do %> -
-
-
+ + +<% + preview_selectable_container = '' + preview_selectable = '' + padding_left = '1em' + if !params['use_preview_selection'].nil? and params['use_preview_selection'] == 'true' + preview_selectable_container = 'preview-selectable-container selectable-container' + preview_selectable = 'preview-selectable selectable' + padding_left = '0em' + end +%> + +
+ <% if !defined? no_checkboxes or !no_checkboxes %> +
+
+
+ + +
+
+ + +
+
- Collection storage status: - <%= render partial: 'toggle_persist', locals: { uuid: @object.uuid, current_state: (@is_persistent ? 'persistent' : 'cache') } %> +
-
-<% end %> +

+ <% end %> <% file_tree = @object.andand.files_tree %> <% if file_tree.nil? or file_tree.empty? %>

This collection is empty.

<% else %> -
<% end %> @@ -66,3 +122,9 @@ <% end # file_tree.each %> <%= raw(dirstack.map { |_| "" }.join("")) %> <% end # if file_tree %> + +<% content_for :footer_html do %> + +<% end %> + +