diff options
Diffstat (limited to 'app/views/comment_mailer/reply_comment_email.html.haml')
-rw-r--r-- | app/views/comment_mailer/reply_comment_email.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/comment_mailer/reply_comment_email.html.haml b/app/views/comment_mailer/reply_comment_email.html.haml new file mode 100644 index 0000000..22009ee --- /dev/null +++ b/app/views/comment_mailer/reply_comment_email.html.haml | |||
@@ -0,0 +1,14 @@ | |||
1 | %p | ||
2 | A reply has been posted to your comment on | ||
3 | = succeed "." do | ||
4 | = link_to @comment.blog.title, @comment.blog | ||
5 | The original comment: | ||
6 | %blockquote= @comment.reply_to.body | ||
7 | %p | ||
8 | = @comment.username | ||
9 | left the following response: | ||
10 | %blockquote= @comment.body | ||
11 | %p | ||
12 | Posted: | ||
13 | = @comment.published_at.strftime("%B #{@comment.published_at.day.ordinalize}, %Y at %-I:%M:%S%P") | ||
14 | %p= link_to "See the comment on the web", blog_url(@comment.blog, anchor: "comment-#{@comment.id}") | ||