mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-14 21:18:14 +00:00
* svn browsing * diff viewing git-svn-id: http://redmine.rubyforge.org/svn/branches/work@102 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 lines
367 B
Plaintext
9 lines
367 B
Plaintext
<%= link_to 'root', :action => 'browse', :id => @project, :path => '', :rev => @rev %>
|
|
<% link_path = ''
|
|
path.split('/').each do |dir|
|
|
link_path << '/' unless link_path.empty?
|
|
link_path << "#{dir}"
|
|
%>
|
|
/ <%= link_to h(dir), :action => 'browse', :id => @project, :path => link_path, :rev => @rev %>
|
|
<% end %>
|
|
<%= "@ #{revision}" if revision %> |