diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 11:51:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 11:51:09 +0000 |
commit | 2175e4a901120db2ee976780fa83c4e83c048ae3 (patch) | |
tree | 59cfc81bf04c6bf2f71a206d6596611f6db9d16b /app/views/projects | |
parent | 36923695845199ea87ede12969056ec8d707b529 (diff) | |
download | redmine-2175e4a901120db2ee976780fa83c4e83c048ae3.tar.gz redmine-2175e4a901120db2ee976780fa83c4e83c048ae3.zip |
Add links to repositories on repository list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10123 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-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) %> |