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
This commit is contained in:
parent
232729d93f
commit
51faa24b37
|
@ -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)) -%>
|
||||
|
|
Loading…
Reference in New Issue