diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/settings/_repositories.html.erb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/projects/settings/_repositories.html.erb b/app/views/projects/settings/_repositories.html.erb index d72c9edad..37e008bd2 100644 --- a/app/views/projects/settings/_repositories.html.erb +++ b/app/views/projects/settings/_repositories.html.erb @@ -2,9 +2,9 @@ <table class="list"> <thead> <tr> - <th><%= l(:label_scm) %></th> <th><%= l(:field_identifier) %></th> <th><%= l(:field_repository_is_default) %></th> + <th><%= l(:label_scm) %></th> <th><%= l(:label_repository) %></th> <th></th> </tr> @@ -12,9 +12,12 @@ <tbody> <% @project.repositories.sort.each do |repository| %> <tr class="<%= cycle 'odd', 'even' %>"> - <td><%=h repository.scm_name %></td> - <td><%=h repository.identifier %></td> + <td> + <%= link_to repository.identifier, + {:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier_param.present? %> + </td> <td align="center"><%= checked_image repository.is_default? %></td> + <td><%=h repository.scm_name %></td> <td><%=h repository.url %></td> <td class="buttons"> <% if User.current.allowed_to?(:manage_repository, @project) %> |