From: Brett Smith Date: Wed, 3 Dec 2014 15:28:42 +0000 (-0500) Subject: 4291: Workbench says explicitly when collection sharing is disabled. X-Git-Tag: 1.1.0~1949^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/743394c6ec6c9bd10a434e1b79afa5edc20a71ba?ds=inline 4291: Workbench says explicitly when collection sharing is disabled. --- diff --git a/apps/workbench/app/views/collections/_sharing_button.html.erb b/apps/workbench/app/views/collections/_sharing_button.html.erb index f9d6be2eda..4050e3aee4 100644 --- a/apps/workbench/app/views/collections/_sharing_button.html.erb +++ b/apps/workbench/app/views/collections/_sharing_button.html.erb @@ -4,7 +4,7 @@ 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 %>