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 <a data-parent="#arv-adv-accordion" href="#manage_repositories">
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><%= writable ? repo.push_url : repo.fetch_url %></code>
52 <% if writable == 'can_manage' %>
53 <%= link_to "Share", "/repositories/#{repo[:uuid]}#Sharing" %>