<% 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.

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