Index: app/views/layouts/mailer.html.erb =================================================================== --- app/views/layouts/mailer.html.erb (revision 13049) +++ app/views/layouts/mailer.html.erb (working copy) @@ -5,6 +5,8 @@ font-family: Verdana, sans-serif; font-size: 0.8em; color:#484848; + background: #f6f6f6; + padding: 2em; } h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; } h1 { font-size: 1.2em; } @@ -16,6 +18,7 @@ hr { width: 100%; height: 1px; + margin: 2em 0; background: #ccc; border: 0; } @@ -23,9 +26,28 @@ font-size: 0.8em; font-style: italic; } +#content { + max-width: 60em; + margin: 0 auto; + padding: 1em; + border: 1px solid #e4e4e4; + border-radius: 4px; + background: #fff; +} +.description, .note { + margin: 2em 0; + color: #484848; +} +.author { + background: #f6f6f6; + border-radius: 3px; + padding: 3px; + margin: 0; +} +
<% if Setting.emails_header.present? -%> <%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_header).html_safe %> <% end -%> @@ -34,5 +56,6 @@ <% if Setting.emails_footer.present? -%> <%= 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 13049) +++ app/views/mailer/_issue.html.erb (working copy) @@ -2,7 +2,7 @@ <%= render_email_issue_attributes(issue, users.first, true) %> -<%= textilizable(issue, :description, :only_path => false) %> +
<%= textilizable(issue, :description, :only_path => false) %>
<% if issue.attachments.any? %>
<%= l(:label_attachment_plural) %> Index: app/views/mailer/issue_add.html.erb =================================================================== --- app/views/mailer/issue_add.html.erb (revision 13049) +++ app/views/mailer/issue_add.html.erb (working copy) @@ -1,3 +1,3 @@ -<%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %> +

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


<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %> Index: app/views/mailer/issue_edit.html.erb =================================================================== --- app/views/mailer/issue_edit.html.erb (revision 13049) +++ app/views/mailer/issue_edit.html.erb (working copy) @@ -1,7 +1,7 @@ <% if @journal.private_notes? %> (<%= l(:field_private_notes) %>) <% end %> -<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %> +

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

-<%= textilizable(@journal, :notes, :only_path => false) %> +
<%= textilizable(@journal, :notes, :only_path => false) %>

<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>