X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6c40c1c5b000b2eb0967df0f7ebaf613393501bc..6249668bc01ec7561503f2e7de7063f25ac7ba56:/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb
diff --git a/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb b/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb
index 0d433bf204..a7e53e28bd 100644
--- a/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb
+++ b/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb
@@ -1,16 +1,31 @@
-<% @objects.sort_by { |obj| obj.created_at }.reverse.each do |obj| %>
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
+<% @objects.each do |obj| %>
<% if obj.editable? %>
- <%= check_box_tag 'uuids[]', obj.uuid, false, :class => 'persistent-selection' %>
+ <%= 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.trash_at %>
+ <%= render_localized_date(obj.trash_at) %>
+ <% end %>
+
+ <% if obj.delete_at %>
+ <%= render_localized_date(obj.delete_at) %>
+ <% end %>
+ |
- <%= obj.created_at.to_s if obj.created_at %>
+ <%= link_to_if_arvados_object obj.owner_uuid, friendly_name: true %>
+ |
- <%= obj.trash_at.to_s if obj.trash_at %>
+ <%= obj.uuid %> <%= obj.portable_data_hash %>
|
<% for i in (0..[2, obj.files.length-1].min) %>
@@ -19,7 +34,7 @@
<%= file_path %>
<% end %>
<% if obj.files.length > 3 %>
- ⋮
+ <%= "(#{obj.files.length-3} more files)" %>
<% end %>
|
|