<%= link_to raw(' Add new repository'), "#", {class: 'btn btn-xs btn-primary', 'data-toggle' => "modal", 'data-target' => '#add-repository-modal'} %>

<%= link_to repositories_user_path(current_user) do%> Repositories <%end%>

When you are using an Arvados virtual machine, you should clone the https:// URLs. This will authenticate automatically using your API token.

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.

For more information see <%= link_to raw('Writing a pipeline'), "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html", target: "_blank"%>.

<% if !@my_repositories.any? %> You do not seem to have access to any repositories. If you would like to request access, please contact your system admin. <% else %> <% @my_repositories.andand.each do |repo| %> <% end %>
Name URL
<%= render :partial => "show_object_button", :locals => {object: repo, size: 'xs' } %> <%= repo[:name] %> <%= repo.http_fetch_url %>
<%= @repo_writable[repo.uuid] ? repo.push_url : repo.fetch_url %>
<% if repo.editable? %> <%= link_to(repository_path(id: repo.uuid), method: :delete, class: 'btn btn-sm', data: {confirm: "Really delete repositories?"}) do %> <% end %> <% end %>
<% end %>