19177: Do not show the collection's sharing button on wb1 when it shouldn't.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 8 Jun 2022 12:59:02 +0000 (09:59 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 8 Jun 2022 12:59:02 +0000 (09:59 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

apps/workbench/app/views/collections/show.html.erb

index 56712661c836d2f8c91427e95598978407f9b1bb..8a9200aeba77ee607f080bc7a3dbddffc8d964b7 100644 (file)
@@ -40,13 +40,11 @@ SPDX-License-Identifier: AGPL-3.0 %>
         </h3>
       </div>
       <div class="panel-body">
-        <!--
-        <input type="text" class="form-control" placeholder="Search"/>
-        -->
-
+        <% if !Rails.configuration.Workbench.DisableSharingURLsUI %>
         <div id="sharing-button">
           <%= render partial: 'sharing_button' %>
         </div>
+        <% end %>
 
         <div style="height:0.5em;"></div>
         <% if @projects.andand.any? %>