X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bd86112ffba029e0f2c29c7d12ae6192e4097e18..f4750d53482ddb3990426563bb424f72790b9090:/apps/workbench/app/views/application/_selection_checkbox.html.erb diff --git a/apps/workbench/app/views/application/_selection_checkbox.html.erb b/apps/workbench/app/views/application/_selection_checkbox.html.erb index a234e9f656..af65a6d982 100644 --- a/apps/workbench/app/views/application/_selection_checkbox.html.erb +++ b/apps/workbench/app/views/application/_selection_checkbox.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <%if object and object.uuid and (object.class.goes_in_projects? or (object.is_a?(Link) and ArvadosBase::resource_class_for_uuid(object.head_uuid).to_s == 'Collection')) %> <% fn = if defined? friendly_name and not friendly_name.nil? friendly_name @@ -11,6 +15,7 @@ fn = String.new fn %> <%= check_box_tag 'uuids[]', object.uuid, false, { :class => 'persistent-selection', + :id => object.uuid, :friendly_type => object.class.name, :friendly_name => fn, :href => "#{url_for controller: object.class.name.tableize, action: 'show', id: object.uuid }",