From 2175e4a901120db2ee976780fa83c4e83c048ae3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 29 Jul 2012 11:51:09 +0000 Subject: [PATCH] Add links to repositories on repository list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10123 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/settings/_repositories.html.erb | 9 ++++++--- 1 file 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 @@ - + @@ -12,9 +12,12 @@ <% @project.repositories.sort.each do |repository| %> - - + +
<%= l(:label_scm) %> <%= l(:field_identifier) %> <%= l(:field_repository_is_default) %><%= l(:label_scm) %> <%= l(:label_repository) %>
<%=h repository.scm_name %><%=h repository.identifier %> + <%= link_to repository.identifier, + {:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier_param.present? %> + <%= checked_image repository.is_default? %><%=h repository.scm_name %> <%=h repository.url %> <% if User.current.allowed_to?(:manage_repository, @project) %> -- 2.39.5