Commit 51faa24b authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

scm: use blank? for "root @ branch" in repository tree viewing.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5147 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 232729d9
......@@ -23,6 +23,6 @@ dirs.each do |dir|
# For Mercurial *tip*, @rev and @changeset are nil.
rev_text = @changeset.nil? ? @rev : format_revision(@changeset)
%>
<%= "@ #{h rev_text}" if rev_text %>
<%= "@ #{h rev_text}" unless rev_text.blank? %>
<% html_title(with_leading_slash(path)) -%>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment