summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/_issue.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/mailer/_issue.html.erb')
-rw-r--r--app/views/mailer/_issue.html.erb12
1 files changed, 1 insertions, 11 deletions
diff --git a/app/views/mailer/_issue.html.erb b/app/views/mailer/_issue.html.erb
index aee365e56..6b84a5be1 100644
--- a/app/views/mailer/_issue.html.erb
+++ b/app/views/mailer/_issue.html.erb
@@ -1,16 +1,6 @@
<h1><%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %></h1>
-<ul>
-<li><%=l(:field_author)%>: <%=h issue.author %></li>
-<li><%=l(:field_status)%>: <%=h issue.status %></li>
-<li><%=l(:field_priority)%>: <%=h issue.priority %></li>
-<li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
-<li><%=l(:field_category)%>: <%=h issue.category %></li>
-<li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
-<% issue.visible_custom_field_values(users.first).each do |c| %>
- <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
-<% end %>
-</ul>
+<%= render_email_issue_attributes(issue, users.first, true) %>
<%= textilizable(issue, :description, :only_path => false) %>