Merge branch '11345-nodemanager-retry-after' refs #11345
[arvados.git] / apps / workbench / app / views / trash_items / _untrash_item.html.erb
index a40a4be7e1e74a6b6df96123b14eff54cae8ab69..74255c3f0fe63cd384bb34868268ef56088d0973 100644 (file)
@@ -1,5 +1,7 @@
 <% 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 %>
     <i class="fa fa-fw fa-recycle"></i>
   <% end %>
 <% end %>