summaryrefslogtreecommitdiffstats
path: root/app/views/mailer
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-09-01 00:15:13 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-09-01 00:15:13 +0000
commitd90de96def267ab2a8261ee756e78d9edd9db908 (patch)
tree5b2b73d5e4ff3c31ce4ba85742dfbd3355c94c68 /app/views/mailer
parent0dc3c2fe1c864b3236e23cad7592d359d40a8075 (diff)
downloadredmine-d90de96def267ab2a8261ee756e78d9edd9db908.tar.gz
redmine-d90de96def267ab2a8261ee756e78d9edd9db908.zip
trunk: revert r14300 (#16535, #20466, #20641)
Set a max width to html email content. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@14541 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer')
-rw-r--r--app/views/mailer/_issue.html.erb2
-rw-r--r--app/views/mailer/issue_add.html.erb2
-rw-r--r--app/views/mailer/issue_edit.html.erb4
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/mailer/_issue.html.erb b/app/views/mailer/_issue.html.erb
index 6f13b0248..9461d8490 100644
--- a/app/views/mailer/_issue.html.erb
+++ b/app/views/mailer/_issue.html.erb
@@ -2,7 +2,7 @@
<%= render_email_issue_attributes(issue, users.first, true) %>
-<div class="description"><%= textilizable(issue, :description, :only_path => false) %></div>
+<%= textilizable(issue, :description, :only_path => false) %>
<% if issue.attachments.any? %>
<fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend>
diff --git a/app/views/mailer/issue_add.html.erb b/app/views/mailer/issue_add.html.erb
index 209b0286d..99fd08d14 100644
--- a/app/views/mailer/issue_add.html.erb
+++ b/app/views/mailer/issue_add.html.erb
@@ -1,3 +1,3 @@
-<p class="author"><%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %></p>
+<%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %>
<hr />
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
diff --git a/app/views/mailer/issue_edit.html.erb b/app/views/mailer/issue_edit.html.erb
index 2e7009123..e3b6f5c6c 100644
--- a/app/views/mailer/issue_edit.html.erb
+++ b/app/views/mailer/issue_edit.html.erb
@@ -1,7 +1,7 @@
<% if @journal.private_notes? %>
(<%= l(:field_private_notes) %>)
<% end %>
-<p class="author"><%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %></p>
+<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %>
<ul>
<% details_to_strings(@journal_details, false, :only_path => false).each do |string| %>
@@ -9,6 +9,6 @@
<% end %>
</ul>
-<div class="note"><%= textilizable(@journal, :notes, :only_path => false) %></div>
+<%= textilizable(@journal, :notes, :only_path => false) %>
<hr />
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>