##// END OF EJS Templates
Enlarges the sidebar....
Enlarges the sidebar. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3580 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2735:c28b044d6802
r3466:c3e8d1d51246
Show More
_breadcrumbs.rhtml
21 lines | 664 B | text/html+ruby | RhtmlLexer
<%= 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 %>
<%= "@ #{revision}" if revision %>
<% html_title(with_leading_slash(path)) -%>