X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fc10c21d75b15e36c4f861fdd17bf985ca83d888..371ce4b14c96e0f515586c55387d95c17e1670b3:/apps/workbench/app/views/trash_items/_untrash_item.html.erb
diff --git a/apps/workbench/app/views/trash_items/_untrash_item.html.erb b/apps/workbench/app/views/trash_items/_untrash_item.html.erb
index 7fd7af7723..50780d9497 100644
--- a/apps/workbench/app/views/trash_items/_untrash_item.html.erb
+++ b/apps/workbench/app/views/trash_items/_untrash_item.html.erb
@@ -1,5 +1,9 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
<% if object.editable? %>
- <%= link_to({action: 'untrash_item', id: object.uuid}, remote: true, data: {confirm: "Un-trash #{object.class_for_display.downcase} '#{object.friendly_link_name}'?"}) do %>
-
- <% end %>
+ <%= link_to(url_for(object), {title: "Untrash", style: 'cursor: pointer;'}) do %>
+
+ <% end %>
<% end %>