1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-14 21:18:14 +00:00
redmine/scm/app/views/repositories/_navigation.rhtml
Jean-Philippe Lang 9db7b56f4d initial commit of scm support:
* svn browsing
* diff viewing

git-svn-id: http://redmine.rubyforge.org/svn/branches/work@102 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-23 16:13:40 +00:00

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 %>