Display custom_field_values instead of custom_values.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8725 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-29 21:21:45 +00:00
parent cd4a19241a
commit 0cd62a3c77
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@
<p><%=h version.description %></p>
<% if version.custom_values.any? %>
<ul>
<% version.custom_values.each do |custom_value| %>
<% if !custom_value.value.blank? %>
<% version.custom_field_values.each do |custom_value| %>
<% if custom_value.value.present? %>
<li><%=h custom_value.custom_field.name %>: <%=h show_value(custom_value) %></li>
<% end %>
<% end %>