16580: Merge branch 'master' into 16580-remove-python2-packages
[arvados.git] / apps / workbench / app / views / collections / _sharing_button.html.erb
index f9d6be2eda0a35c80bfc6a65245d00782d98a8f7..3d8ea3fff199846ab0cda07b8ba19dac5dbaf3cc 100644 (file)
@@ -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. %>
+  <p>Your API token is not authorized to manage collection sharing links.</p>
 <% elsif @search_sharing.empty? %>
   <%= button_to("Create sharing link", {action: "share"}, button_attrs) %>
 <% else %>