X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/72e22b49ec2721d3a1369da768d3d74fa9c079c3..777466ea9bfebd7d1be2ce9d90515244f9f1a7fb:/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 8732531747..901d396fcb 100644 --- a/apps/workbench/app/views/trash_items/_untrash_item.html.erb +++ b/apps/workbench/app/views/trash_items/_untrash_item.html.erb @@ -1,7 +1,11 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% if object.editable? %> <% msg = "Untrash '" + if !object.name.blank? then object.name else object.uuid end + "'?" %> <%= link_to({action: 'untrash_items', selection: [object.uuid]}, remote: true, method: :post, - title: "Untrash", data: {confirm: msg}) do %> + title: "Untrash", style: 'cursor: pointer;') do %> <% end %> <% end %>