X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/34a7e1ea48470ba540bc7d18de4836b0bb9197f8..2f83fcd45b4b23db2bb5bb4afbe1e863ebd77ec6:/apps/workbench/app/views/collections/_sharing_button.html.erb diff --git a/apps/workbench/app/views/collections/_sharing_button.html.erb b/apps/workbench/app/views/collections/_sharing_button.html.erb index f9d6be2eda..3d8ea3fff1 100644 --- a/apps/workbench/app/views/collections/_sharing_button.html.erb +++ b/apps/workbench/app/views/collections/_sharing_button.html.erb @@ -1,10 +1,14 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% button_attrs = { class: 'btn btn-xs btn-info', remote: true, method: :post, } %> <% if @search_sharing.nil? %> - <%# API token can't manage other tokens. Disable this feature. %> +

Your API token is not authorized to manage collection sharing links.

<% elsif @search_sharing.empty? %> <%= button_to("Create sharing link", {action: "share"}, button_attrs) %> <% else %>