projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 5420-collection-checkbox-selections
[arvados.git]
/
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 f9d6be2eda0a35c80bfc6a65245d00782d98a8f7..4050e3aee4d124c7f976ba9148ea7415b32637dd 100644
(file)
--- 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? %>
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 %>