##// END OF EJS Templates
Fixed 'export to' links positioning on wiki page....
Fixed 'export to' links positioning on wiki page. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1023 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r927:f5d68cf688da
r1010:3ff95e403134
Show More
_navigation.rhtml
19 lines | 593 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}"
%>
/ <%= link_to h(dir), :action => 'browse', :id => @project, :path => link_path, :rev => @rev %>
<% end %>
<% if filename %>
Jean-Philippe Lang
Fixed a broken link in the SCM browser...
r927 / <%= link_to h(filename), :action => 'changes', :id => @project, :path => "#{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 %>