%# Copyright (C) The Arvados Authors. All rights reserved.
SPDX-License-Identifier: AGPL-3.0 %>
<% @objects.each do |obj| %>
<% if obj.editable? and obj.is_trashed %>
<%= check_box_tag 'uuids[]', obj.uuid, false, :class => 'persistent-selection', style: 'cursor: pointer;' %>
<% end %>
|
<%= if !obj.name.blank? then obj.name else obj.uuid end %>
|
<% if obj.is_trashed %>
<%= link_to_if_arvados_object @owners[obj.owner_uuid], friendly_name: true %>
|
<% if obj.trash_at %>
<%= render_localized_date(obj.trash_at) %>
<% end %>
<% if obj.delete_at %>
<%= render_localized_date(obj.delete_at) %>
<% end %>
|
<% else %>
<%= link_to_if_arvados_object @owners[obj.owner_uuid], friendly_name: true %>
This item is contained within a trashed project.
|
<% end %>
<%= obj.uuid %>
<% if defined? obj.portable_data_hash %>
<%= obj.portable_data_hash %>
<% end %>
|
<%= render partial: 'untrash_item', locals: {object:obj} %>
|
<% end %>