Do not generate empty uls.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8557 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-08 13:08:06 +00:00
parent a66718239f
commit 1fd824f0c1
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
<% end %>
<p><%=h version.description %></p>
<% if version.custom_values.any? %>
<ul>
<% version.custom_values.each do |custom_value| %>
<% if !custom_value.value.blank? %>
@ -12,6 +13,7 @@
<% end %>
<% end %>
</ul>
<% end %>
<% if version.fixed_issues.count > 0 %>
<%= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) %>