##// END OF EJS Templates
remove trailing white-spaces from app/views/settings/_repositories.html.erb...
remove trailing white-spaces from app/views/settings/_repositories.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7285 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7146:7f4af3bfb9b9
r7165:d016f1e5df22
Show More
_breadcrumbs.html.erb
28 lines | 913 B | text/plain | TextLexer
<%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev %>
<%
dirs = path.split('/')
if 'file' == kind
filename = dirs.pop
end
link_path = ''
dirs.each do |dir|
next if dir.blank?
link_path << '/' unless link_path.empty?
link_path << "#{dir}"
%>
/ <%= link_to h(dir), :action => 'show', :id => @project,
:path => to_path_param(link_path), :rev => @rev %>
<% end %>
<% if filename %>
/ <%= link_to h(filename),
:action => 'changes', :id => @project,
:path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %>
<% end %>
<%
# @rev is revsion or Git and Mercurial branch or tag.
# For Mercurial *tip*, @rev and @changeset are nil.
rev_text = @changeset.nil? ? @rev : format_revision(@changeset)
%>
<%= "@ #{h rev_text}" unless rev_text.blank? %>
<% html_title(h(with_leading_slash(path))) -%>