projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
12197: Add missing end tags.
[arvados.git]
/
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 2ba9dc93f189bf5840a6f4ab11daa3b037412f43..901d396fcb81c14a41bce739dc4c88d90f22cd2a 100644
(file)
--- 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? %>
<% 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,
<%= link_to({action: 'untrash_items', selection: [object.uuid]}, remote: true, method: :post,
-
data: {confirm: msg}
) do %>
+
title: "Untrash", style: 'cursor: pointer;'
) do %>
<i class="fa fa-fw fa-recycle"></i>
<% end %>
<% end %>
<i class="fa fa-fw fa-recycle"></i>
<% end %>
<% end %>