summaryrefslogtreecommitdiffstats
path: root/app/views/versions/_overview.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-15 15:22:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-15 15:22:55 +0000
commitba7cf9c3ce6c970a2ecb49d1f4ab276a071ada40 (patch)
tree8ec30a96db6089c7e140e7cb2a4ea5c864fe1ac8 /app/views/versions/_overview.rhtml
parent7d57833740bb546753d6d908ee082e8268044fa3 (diff)
downloadredmine-ba7cf9c3ce6c970a2ecb49d1f4ab276a071ada40.tar.gz
redmine-ba7cf9c3ce6c970a2ecb49d1f4ab276a071ada40.zip
Adds custom fields for versions (#4219).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3064 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions/_overview.rhtml')
-rw-r--r--app/views/versions/_overview.rhtml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/versions/_overview.rhtml b/app/views/versions/_overview.rhtml
index 724f9f923..550cf3e78 100644
--- a/app/views/versions/_overview.rhtml
+++ b/app/views/versions/_overview.rhtml
@@ -5,6 +5,13 @@
<% end %>
<p><%=h version.description %></p>
+<ul>
+ <% version.custom_values.each do |custom_value| %>
+ <% if !custom_value.value.blank? %>
+ <li><%=h custom_value.custom_field.name %>: <%=h show_value(custom_value) %></li>
+ <% end %>
+ <% end %>
+</ul>
<% if version.fixed_issues.count > 0 %>
<%= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) %>