Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / collections / _index_tbody.html.erb
index 5d2fe2cbd0667b20d7e740db4c0d3c6fa49b6409..845c92e80220afef55af808717ef46f5d4e8493f 100644 (file)
@@ -1,3 +1,7 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <% @objects.each do |c| %>
 
 <tr class="collection" data-object-uuid="<%= c.uuid %>">
@@ -39,7 +43,7 @@
     <% if @collection_info[c.uuid] %>
       <% @collection_info[c.uuid][:tag_links].each do |tag_link| %>
         <span class="label label-info removable-tag" data-tag-link-uuid="<%= tag_link.uuid %>"><%= tag_link.name %>
-          <% if tag_link.owner_uuid == current_user.uuid %>
+          <% if tag_link.owner_uuid == current_user.andand.uuid %>
           &nbsp;<a title="Delete tag"><i class="glyphicon glyphicon-trash"></i></a>
           <% end %>
         </span>&nbsp;