4291: Workbench says explicitly when collection sharing is disabled.
authorBrett Smith <brett@curoverse.com>
Wed, 3 Dec 2014 15:28:42 +0000 (10:28 -0500)
committerBrett Smith <brett@curoverse.com>
Wed, 3 Dec 2014 16:24:54 +0000 (11:24 -0500)
apps/workbench/app/views/collections/_sharing_button.html.erb

index f9d6be2eda0a35c80bfc6a65245d00782d98a8f7..4050e3aee4d124c7f976ba9148ea7415b32637dd 100644 (file)
@@ -4,7 +4,7 @@
      method: :post,
    } %>
 <% if @search_sharing.nil? %>
      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 %>
 <% elsif @search_sharing.empty? %>
   <%= button_to("Create sharing link", {action: "share"}, button_attrs) %>
 <% else %>