Index: app/helpers/issues_helper.rb
===================================================================
--- app/helpers/issues_helper.rb (revision 14479)
+++ app/helpers/issues_helper.rb (working copy)
@@ -315,11 +315,37 @@
def render_email_issue_attributes(issue, user, html=false)
items = email_issue_attributes(issue, user)
- if html
- content_tag('ul', items.map{|s| content_tag('li', s)}.join("\n").html_safe)
- else
- items.map{|s| "* #{s}"}.join("\n")
+
+ output = []
+
+ if html
+ output << '
'
+ output << ''
+ output << ''
+ output << ''
end
+
+ items.each do |i|
+ if html
+ output << '- '
+ output << i
+ output << '
'
+ else
+ output << '* #{i}'
+ end
+ end
+
+ if html
+ output << ' '
+ output << ' | '
+ output << '
'
+ output << '
'
+ output = content_tag('p', output.join("\n").html_safe) if html
+ else
+ output = output.join("\n")
+ end
+
+ return output
end
# Returns the textual representation of a journal details
Index: app/views/layouts/mailer.html.erb
===================================================================
--- app/views/layouts/mailer.html.erb (revision 14479)
+++ app/views/layouts/mailer.html.erb (working copy)
@@ -47,6 +47,18 @@
+
+
+
<% if Setting.emails_header.present? -%>
@@ -57,5 +69,16 @@
<% end -%>
+
+
+