##// END OF EJS Templates
Use #custom_field_values to display issue custom fields in email, just like on regular views (#7604)....
Jean-Philippe Lang -
r4772:fdff8d6b9c56
parent child
Show More
@@ -7,7 +7,7
7 <li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
7 <li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
8 <li><%=l(:field_category)%>: <%=h issue.category %></li>
8 <li><%=l(:field_category)%>: <%=h issue.category %></li>
9 <li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
9 <li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
10 <% issue.custom_values.each do |c| %>
10 <% issue.custom_field_values.each do |c| %>
11 <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
11 <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
12 <% end %>
12 <% end %>
13 </ul>
13 </ul>
@@ -7,7 +7,7
7 <%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
7 <%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
8 <%=l(:field_category)%>: <%= issue.category %>
8 <%=l(:field_category)%>: <%= issue.category %>
9 <%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
9 <%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
10 <% issue.custom_values.each do |c| %><%= c.custom_field.name %>: <%= show_value(c) %>
10 <% issue.custom_field_values.each do |c| %><%= c.custom_field.name %>: <%= show_value(c) %>
11 <% end %>
11 <% end %>
12
12
13 <%= issue.description %>
13 <%= issue.description %>
General Comments 0
You need to be logged in to leave comments. Login now