1 <div class="panel panel-default">
2 <div class="panel-heading">
3 <div class="pull-right">
4 <%= link_to raw('<i class="fa fa-plus"></i> Add new repository'), "#",
5 {class: 'btn btn-xs btn-primary', 'data-toggle' => "modal",
6 'data-target' => '#add-repository-modal'} %>
8 <h4 class="panel-title">
9 <%= link_to repositories_user_path(current_user) do%>
15 <div id="manage_repositories" class="panel-body">
17 For more information see <%= link_to raw('Writing a pipeline'),
18 "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html", target: "_blank"%>.
21 <% if !@my_repositories.any? %>
22 You do not seem to have access to any repositories. If you would like to request access, please contact your system admin.
24 <table class="table repositories-table">
26 <col style="width: 30%" />
27 <col style="width: 10%" />
28 <col style="width: 60%" />
39 <% @my_repositories.andand.each do |repo| %>
40 <% writable = @repo_writable[repo.uuid] %>
42 <td style="word-break:break-all;">
46 <%= writable ? 'writable' : 'read-only' %>
48 <td style="word-break:break-all;">
49 <code><%= repo.http_fetch_url %></code><br/>
50 <code><%= writable ? repo.push_url : repo.fetch_url %></code>
53 <% if writable == 'can_manage' %>
54 <%= link_to "Share", "/repositories/#{repo[:uuid]}#Sharing" %>
64 <p>When you are using an Arvados virtual machine, you should clone the https:// URLs. This will authenticate automatically using your API token.</p>
65 <p>In order to clone git repositories using SSH, <%= link_to ssh_keys_user_path(current_user) do%> add an SSH key to your account<%end%> and clone the git@ URLs.</p>