##// END OF EJS Templates
Adds an helper to render other formats download links....
Adds an helper to render other formats download links. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2333 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1609:7cdd88a6ce36
r2331:f1aa0df32666
Show More
_navigation.rhtml
21 lines | 668 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= link_to 'root', :action => 'browse', :id => @project, :path => '', :rev => @rev %>
<%
dirs = path.split('/')
if 'file' == kind
filename = dirs.pop
end
link_path = ''
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556 dirs.each do |dir|
next if dir.blank?
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 link_path << '/' unless link_path.empty?
link_path << "#{dir}"
%>
Jean-Philippe Lang
Merged Rails 2.1 compatibility branch....
r1609 / <%= link_to h(dir), :action => 'browse', :id => @project, :path => to_path_param(link_path), :rev => @rev %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
<% if filename %>
Jean-Philippe Lang
Merged Rails 2.1 compatibility branch....
r1609 / <%= link_to h(filename), :action => 'changes', :id => @project, :path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556 <%= "@ #{revision}" if revision %>
Jean-Philippe Lang
Slight improvements to the browser views....
r1019
<% html_title(with_leading_slash(path)) -%>