summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-29 21:21:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-29 21:21:45 +0000
commit0cd62a3c7776a311b0776899bf4734cd7f4e583a (patch)
treed49f6d82f1b9b7115659208065fe9ae0e77e8b8c /app/views/versions
parentcd4a19241ad77c23bb32ad3214ae3540cbabf5cd (diff)
downloadredmine-0cd62a3c7776a311b0776899bf4734cd7f4e583a.tar.gz
redmine-0cd62a3c7776a311b0776899bf4734cd7f4e583a.zip
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
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/_overview.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/versions/_overview.html.erb b/app/views/versions/_overview.html.erb
index b97c51560..aea77af12 100644
--- a/app/views/versions/_overview.html.erb
+++ b/app/views/versions/_overview.html.erb
@@ -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 %>