X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e2a7fe50d3b6e98b7f549c78c4f91dbe4066ddbb..01463a6fad519def1d3558ddb9c518a605fc9cc2:/apps/workbench/app/views/collections/_show_files.html.erb?ds=sidebyside
diff --git a/apps/workbench/app/views/collections/_show_files.html.erb b/apps/workbench/app/views/collections/_show_files.html.erb
index 74e02f79fe..ea55577e70 100644
--- a/apps/workbench/app/views/collections/_show_files.html.erb
+++ b/apps/workbench/app/views/collections/_show_files.html.erb
@@ -1,16 +1,3 @@
-<% content_for :tab_line_buttons do %>
-
-
-
-
- Collection storage status:
- <%= render partial: 'toggle_persist', locals: { uuid: @object.uuid, current_state: (@is_persistent ? 'persistent' : 'cache') } %>
-
-
-
-
-<% end %>
-
<% file_tree = @object.andand.files_tree %>
<% if file_tree.nil? or file_tree.empty? %>
This collection is empty.
@@ -35,6 +22,7 @@
<%= raw(human_readable_bytes_html(size)) %>
+ <% if !defined? no_checkboxes or !no_checkboxes %>
<%= check_box_tag 'uuids[]', "#{@object.uuid}/#{file_path}", false, {
:class => 'persistent-selection',
:friendly_type => "File",
@@ -43,6 +31,7 @@
uuid: @object.uuid, file: file_path),
:title => "Include #{file_path} in your selections",
} %>
+ <% end %>
<%= link_to(raw(''),
link_params.merge(disposition: 'inline'),
{title: "View #{file_path}", class: "btn btn-info btn-sm"}) %>