improves emails

Adds texts and i18n, ready to add design now.
Advances #221
This commit is contained in:
Juanjo Bazán
2015-08-21 23:01:51 +02:00
parent a9a8359bc7
commit c08d2cdf08
6 changed files with 25 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
Hello,
<%= t('mailers.comment.hi', recipient: @debate.author.name) %>
<div><%= @comment.author.name %></div>
<div><%= link_to @debate.title, debate_url(@debate) %></div>
<div><%= t('mailers.comment.new_comment_by', commenter: @comment.author.name) %></div>
<div><%= @comment.body %></div>
<div><%= link_to @debate.title, debate_url(@debate) %></div>

View File

@@ -1,7 +1,6 @@
Hello,
<%= t('mailers.reply.hi', recipient: @recipient.name) %>
<div><%= @reply.author.name %></div>
<div><%= link_to @debate.title, debate_url(@debate) %></div>
<div><%= t('mailers.reply.new_reply_by', commenter: @reply.author.name) %></div>
<div><%= @reply.body %></div>
<div><%= link_to @debate.title, debate_url(@debate) %></div>