X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/741a9b3912c382b25507ca76fae15ddac020f302..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 a40a4be7e1..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,5 +1,11 @@ +<%# 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 %> + <% 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", style: 'cursor: pointer;') do %> <% end %> <% end %>