<% @objects.each do |obj| %>
<tr data-object-uuid="<%= obj.uuid %>" data-kind="<%= obj.kind %>" >
<td>
- <% if obj.editable? %>
+ <% if obj.editable? and obj.is_trashed %>
<%= check_box_tag 'uuids[]', obj.uuid, false, :class => 'persistent-selection', style: 'cursor: pointer;' %>
<% end %>
</td>
<td colspan="2" class="trash-project-msg">
<%= link_to_if_arvados_object @owners[obj.owner_uuid], friendly_name: true %>
<br>
- This item is contained within a trashed project. You must untrash the parent project to recover it.
+ This item is contained within a trashed project.
</td>
<% end %>
<td>
<% end %>
</td>
<td>
- <% if obj.is_trashed %>
- <%= render partial: 'untrash_item', locals: {object:obj} %>
- <% end %>
+ <%= render partial: 'untrash_item', locals: {object:obj} %>
</td>
</tr>