From 51faa24b37054cb7b8e7931b47cde8eae4d2b33a Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 16 Mar 2011 00:51:14 +0000 Subject: [PATCH] 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 --- app/views/repositories/_breadcrumbs.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/repositories/_breadcrumbs.rhtml b/app/views/repositories/_breadcrumbs.rhtml index 026cab93..63236800 100644 --- a/app/views/repositories/_breadcrumbs.rhtml +++ b/app/views/repositories/_breadcrumbs.rhtml @@ -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)) -%>