Merge branch '8784-dir-listings'
[arvados.git] / apps / workbench / app / views / trash_items / _untrash_item.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <% if object.editable? %>
6   <% msg = "Untrash '" + if !object.name.blank? then object.name else object.uuid end + "'?" %>
7   <%= link_to({action: 'untrash_items', selection: [object.uuid]}, remote: true, method: :post,
8       title: "Untrash", style: 'cursor: pointer;') do %>
9     <i class="fa fa-fw fa-recycle"></i>
10   <% end %>
11 <% end %>