]> source.dussan.org Git - redmine.git/commitdiff
Display custom_field_values instead of custom_values.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jan 2012 21:21:45 +0000 (21:21 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jan 2012 21:21:45 +0000 (21:21 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8725 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/versions/_overview.html.erb

index b97c51560d57fa422644ca063d0148c4282baa2c..aea77af1206fd4ee101e30bf6197779d41821594 100644 (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 %>