From 1fd824f0c19fba26bf83a71ba15c4e8c17d6cd86 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 8 Jan 2012 13:08:06 +0000 Subject: [PATCH] Do not generate empty uls. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8557 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/versions/_overview.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/versions/_overview.html.erb b/app/views/versions/_overview.html.erb index 882771f86..f6716a64f 100644 --- a/app/views/versions/_overview.html.erb +++ b/app/views/versions/_overview.html.erb @@ -5,6 +5,7 @@ <% end %>

<%=h version.description %>

+<% if version.custom_values.any? %> +<% end %> <% if version.fixed_issues.count > 0 %> <%= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) %>