3296: display read-only email, first name, last name, and identity url in the profile...
[arvados.git] / apps / workbench / app / views / users / _manage_repositories.html.erb
1 <div>
2   <p>
3     For more information see <%= link_to raw('Writing a pipeline'),
4     "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html", target: "_blank"%>.
5   </p>
6
7   <% if !@my_repositories.any? %>
8     You do not seem to have access to any repositories. If you would like to request access, please contact your system admin.
9   <% else %>
10     <table class="table repositories-table">
11       <colgroup>
12         <col style="width: 30%" />
13         <col style="width: 10%" />
14         <col style="width: 60%" />
15       </colgroup>
16       <thead>
17         <tr>
18           <th> Name </th>
19           <th> Read/Write </th>
20           <th> URL </th>
21         </tr>
22       </thead>
23       <tbody>
24         <% @my_repositories.andand.each do |repo| %>
25           <tr>
26             <td style="word-break:break-all;">
27               <%= repo[:name] %>
28             </td>
29             <td>
30               <%= repo[:push_url] ? 'writable' : 'read-only' %>
31             </td>
32             <td style="word-break:break-all;">
33               <code><%= repo[:fetch_url] %></code>
34             </td>
35           </tr>
36         <% end %>
37       </tbody>
38     </table>
39   <% end %>
40 </div>