projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19177: Do not show the collection's sharing button on wb1 when it shouldn't.
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
collections
/
show.html.erb
diff --git
a/apps/workbench/app/views/collections/show.html.erb
b/apps/workbench/app/views/collections/show.html.erb
index 56712661c836d2f8c91427e95598978407f9b1bb..8a9200aeba77ee607f080bc7a3dbddffc8d964b7 100644
(file)
--- 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 %>
</h3>
</div>
<div class="panel-body">
</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>
<div id="sharing-button">
<%= render partial: 'sharing_button' %>
</div>
+ <% end %>
<div style="height:0.5em;"></div>
<% if @projects.andand.any? %>
<div style="height:0.5em;"></div>
<% if @projects.andand.any? %>