##// END OF EJS Templates
Merged r3899 from trunk...
Merged r3899 from trunk git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3902 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3499:89aa60cbbd2c
r3788:9af4cb5c38af
Show More
_breadcrumbs.rhtml
21 lines | 666 B | text/html+ruby | RhtmlLexer
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 <%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev %>
<%
dirs = path.split('/')
if 'file' == kind
filename = dirs.pop
end
link_path = ''
dirs.each do |dir|
next if dir.blank?
link_path << '/' unless link_path.empty?
link_path << "#{dir}"
%>
/ <%= link_to h(dir), :action => 'show', :id => @project, :path => to_path_param(link_path), :rev => @rev %>
<% end %>
<% if filename %>
/ <%= link_to h(filename), :action => 'changes', :id => @project, :path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %>
<% end %>
Jean-Philippe Lang
Escape revision on repository view (#5153)....
r3499 <%= "@ #{h revision}" if revision %>
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735
<% html_title(with_leading_slash(path)) -%>