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