Use #custom_field_values to display issue custom fields in email, just like on regular views (#7604).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4892 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e29b99c67e
commit
fdff8d6b9c
|
@ -7,7 +7,7 @@
|
||||||
<li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
|
<li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
|
||||||
<li><%=l(:field_category)%>: <%=h issue.category %></li>
|
<li><%=l(:field_category)%>: <%=h issue.category %></li>
|
||||||
<li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
|
<li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
|
||||||
<% issue.custom_values.each do |c| %>
|
<% issue.custom_field_values.each do |c| %>
|
||||||
<li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
|
<li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
|
<%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
|
||||||
<%=l(:field_category)%>: <%= issue.category %>
|
<%=l(:field_category)%>: <%= issue.category %>
|
||||||
<%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
|
<%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
|
||||||
<% issue.custom_values.each do |c| %><%= c.custom_field.name %>: <%= show_value(c) %>
|
<% issue.custom_field_values.each do |c| %><%= c.custom_field.name %>: <%= show_value(c) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= issue.description %>
|
<%= issue.description %>
|
||||||
|
|
Loading…
Reference in New Issue