diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-12 17:59:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-12 17:59:02 +0000 |
commit | 027bf93849e82ef3c60e4a3024db49d65f0fb3c9 (patch) | |
tree | c6bc438fcd50370944b94f605b3f34fe54b73248 /app/views/repositories/_navigation.rhtml | |
parent | 071f8e18d02f789149071abb8e052bae7ad01003 (diff) | |
download | redmine-027bf93849e82ef3c60e4a3024db49d65f0fb3c9.tar.gz redmine-027bf93849e82ef3c60e4a3024db49d65f0fb3c9.zip |
added svn:eol-style native property on /app files
git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories/_navigation.rhtml')
-rw-r--r-- | app/views/repositories/_navigation.rhtml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/app/views/repositories/_navigation.rhtml b/app/views/repositories/_navigation.rhtml index 3ae0f7612..efc0b9ff9 100644 --- a/app/views/repositories/_navigation.rhtml +++ b/app/views/repositories/_navigation.rhtml @@ -1,18 +1,18 @@ -<%= link_to 'root', :action => 'browse', :id => @project, :path => '', :rev => @rev %>
-<%
-dirs = path.split('/')
-if 'file' == kind
- filename = dirs.pop
-end
-link_path = ''
-dirs.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 %>
-<% if filename %>
- / <%= link_to h(filename), :action => 'revisions', :id => @project, :path => "#{link_path}/#{filename}", :rev => @rev %>
-<% end %>
-
+<%= link_to 'root', :action => 'browse', :id => @project, :path => '', :rev => @rev %> +<% +dirs = path.split('/') +if 'file' == kind + filename = dirs.pop +end +link_path = '' +dirs.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 %> +<% if filename %> + / <%= link_to h(filename), :action => 'revisions', :id => @project, :path => "#{link_path}/#{filename}", :rev => @rev %> +<% end %> + <%= "@ #{revision}" if revision %>
\ No newline at end of file |