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:
parent
a66718239f
commit
1fd824f0c1
|
@ -5,6 +5,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<p><%=h version.description %></p>
|
<p><%=h version.description %></p>
|
||||||
|
<% if version.custom_values.any? %>
|
||||||
<ul>
|
<ul>
|
||||||
<% version.custom_values.each do |custom_value| %>
|
<% version.custom_values.each do |custom_value| %>
|
||||||
<% if !custom_value.value.blank? %>
|
<% if !custom_value.value.blank? %>
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<% if version.fixed_issues.count > 0 %>
|
<% if version.fixed_issues.count > 0 %>
|
||||||
<%= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) %>
|
<%= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) %>
|
||||||
|
|
Loading…
Reference in New Issue