X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/695a100d4bd3bf4f5534c7e489c118c2917bf35a..6b3cfe60beb46ba087de5093926363d8b03ab889:/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 a40a4be7e1..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_items', selection: [object.uuid]}, remote: true, method: :post, 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 %>