X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/88abf688d7545fc663e0422f0c586107d4c56e5a..5f8a7ee855778644abf70e7058317891738d2ce1:/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 2ba9dc93f1..8732531747 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,7 @@ <% if object.editable? %> - <% msg = "Un-trash '" + if !object.name.blank? then object.name else object.uuid end + "'?" %> + <% 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, - data: {confirm: msg}) do %> + title: "Untrash", data: {confirm: msg}) do %> <% end %> <% end %>