1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
6 class: 'btn btn-xs btn-info',
10 <% if @search_sharing.nil? %>
11 <p>Your API token is not authorized to manage collection sharing links.</p>
12 <% elsif @search_sharing.empty? %>
13 <%= button_to("Create sharing link", {action: "share"}, button_attrs) %>
16 <% button_attrs[:class] += " pull-right" %>
17 <%= button_to("Unshare", {action: "unshare"}, button_attrs) %>
19 <div class="smaller-text" style="clear: both; word-break: break-all"><%= link_to download_link, download_link %></div>