20690: Remove workbench1 and testing/packaging references.
[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
deleted file mode 100644 (file)
index 3d8ea3f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<%# Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: AGPL-3.0 %>
-
-<% button_attrs = {
-     class: 'btn btn-xs btn-info',
-     remote: true,
-     method: :post,
-   } %>
-<% if @search_sharing.nil? %>
-  <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 %>
-  <div>
-    <% button_attrs[:class] += " pull-right" %>
-    <%= button_to("Unshare", {action: "unshare"}, button_attrs) %>
-    Shared at:
-    <div class="smaller-text" style="clear: both; word-break: break-all"><%= link_to download_link, download_link %></div>
-  </div>
-<% end %>