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 << '' + output << '
' + output << '
    ' end + + items.each do |i| + if html + output << '
  • ' + output << i + output << '
  • ' + else + output << '* #{i}' + end + end + + if html + 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? -%> <%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_header).html_safe %> @@ -57,5 +69,16 @@ <%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer).html_safe %> <% end -%>
+ + + Index: app/views/mailer/_issue.html.erb =================================================================== --- app/views/mailer/_issue.html.erb (revision 14479) +++ app/views/mailer/_issue.html.erb (working copy) @@ -1,5 +1,9 @@

<%= link_to("#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url) %>

+ + <%= render_email_issue_attributes(issue, users.first, true) %>
<%= textilizable(issue, :description, :only_path => false) %>
Index: app/views/mailer/issue_edit.html.erb =================================================================== --- app/views/mailer/issue_edit.html.erb (revision 14479) +++ app/views/mailer/issue_edit.html.erb (working copy) @@ -3,11 +3,19 @@ <% end %>

<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %>

+
+ + + + + +
    <% details_to_strings(@journal_details, false, :only_path => false).each do |string| %> -
  • <%= string %>
  • +
  • <%= string %>
  • <% end %>
+
<%= textilizable(@journal, :notes, :only_path => false) %>

Index: app/views/mailer/reminder.html.erb =================================================================== --- app/views/mailer/reminder.html.erb (revision 14479) +++ app/views/mailer/reminder.html.erb (working copy) @@ -1,9 +1,15 @@

<%= l(:mail_body_reminder, :count => @issues.size, :days => @days) %>

+ + + + +
    <% @issues.each do |issue| -%>
  • <%= link_to_issue(issue, :project => true, :only_path => false) %>
  • <% end -%>
+

<%= link_to l(:label_issue_view_all), @issues_url %>