From: Lucas Di Pentima Date: Wed, 8 Jun 2022 12:59:02 +0000 (-0300) Subject: 19177: Do not show the collection's sharing button on wb1 when it shouldn't. X-Git-Tag: 2.5.0~139^2~2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/27ba0e2e0733ddaeb7437dc4194f684306636635?hp=f84e4b2ab7cd923aff2f99c04cb1313b36866393 19177: Do not show the collection's sharing button on wb1 when it shouldn't. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/apps/workbench/app/views/collections/show.html.erb b/apps/workbench/app/views/collections/show.html.erb index 56712661c8..8a9200aeba 100644 --- a/apps/workbench/app/views/collections/show.html.erb +++ b/apps/workbench/app/views/collections/show.html.erb @@ -40,13 +40,11 @@ SPDX-License-Identifier: AGPL-3.0 %>
- - + <% if !Rails.configuration.Workbench.DisableSharingURLsUI %>
<%= render partial: 'sharing_button' %>
+ <% end %>
<% if @projects.andand.any? %>