@@ -2,9 +2,9 | |||||
2 | <table class="list"> |
|
2 | <table class="list"> | |
3 | <thead> |
|
3 | <thead> | |
4 | <tr> |
|
4 | <tr> | |
5 | <th><%= l(:label_scm) %></th> |
|
|||
6 | <th><%= l(:field_identifier) %></th> |
|
5 | <th><%= l(:field_identifier) %></th> | |
7 | <th><%= l(:field_repository_is_default) %></th> |
|
6 | <th><%= l(:field_repository_is_default) %></th> | |
|
7 | <th><%= l(:label_scm) %></th> | |||
8 | <th><%= l(:label_repository) %></th> |
|
8 | <th><%= l(:label_repository) %></th> | |
9 | <th></th> |
|
9 | <th></th> | |
10 | </tr> |
|
10 | </tr> | |
@@ -12,9 +12,12 | |||||
12 | <tbody> |
|
12 | <tbody> | |
13 | <% @project.repositories.sort.each do |repository| %> |
|
13 | <% @project.repositories.sort.each do |repository| %> | |
14 | <tr class="<%= cycle 'odd', 'even' %>"> |
|
14 | <tr class="<%= cycle 'odd', 'even' %>"> | |
15 | <td><%=h repository.scm_name %></td> |
|
15 | <td> | |
16 |
< |
|
16 | <%= link_to repository.identifier, | |
|
17 | {:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier_param.present? %> | |||
|
18 | </td> | |||
17 | <td align="center"><%= checked_image repository.is_default? %></td> |
|
19 | <td align="center"><%= checked_image repository.is_default? %></td> | |
|
20 | <td><%=h repository.scm_name %></td> | |||
18 | <td><%=h repository.url %></td> |
|
21 | <td><%=h repository.url %></td> | |
19 | <td class="buttons"> |
|
22 | <td class="buttons"> | |
20 | <% if User.current.allowed_to?(:manage_repository, @project) %> |
|
23 | <% if User.current.allowed_to?(:manage_repository, @project) %> |
General Comments 0
You need to be logged in to leave comments.
Login now