Display repository identifier in breadcrumbs (#779).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8656 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-15 23:09:15 +00:00
parent c102fa6cac
commit 276e647779
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<%= link_to 'root', :action => 'show', :id => @project, :repository_id => @repository.identifier_param, :path => '', :rev => @rev %>
<%= link_to(@repository.identifier.present? ? h(@repository.identifier) : 'root',
:action => 'show', :id => @project, :repository_id => @repository.identifier_param, :path => '', :rev => @rev) %>
<%
dirs = path.split('/')
if 'file' == kind