summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-08 13:08:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-08 13:08:06 +0000
commit1fd824f0c19fba26bf83a71ba15c4e8c17d6cd86 (patch)
treeb3a5bba9007c000a176ef336cc76c702bd60a0c4 /app/views/versions
parenta66718239f36385d7f8ecc96d6d2537f4c9a575a (diff)
downloadredmine-1fd824f0c19fba26bf83a71ba15c4e8c17d6cd86.tar.gz
redmine-1fd824f0c19fba26bf83a71ba15c4e8c17d6cd86.zip
Do not generate empty uls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8557 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/_overview.html.erb2
1 files changed, 2 insertions, 0 deletions
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 %>
<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)) %>