about summary refs log tree commit diff stats
path: root/app/views/comment_mailer/new_comment_email.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/comment_mailer/new_comment_email.html.haml')
-rw-r--r--app/views/comment_mailer/new_comment_email.html.haml21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/comment_mailer/new_comment_email.html.haml b/app/views/comment_mailer/new_comment_email.html.haml new file mode 100644 index 0000000..d16a9ca --- /dev/null +++ b/app/views/comment_mailer/new_comment_email.html.haml
@@ -0,0 +1,21 @@
1%p
2 A comment has been posted on
3 = link_to @comment.blog.title, @comment.blog
4 by the following user:
5%ul
6 %li
7 Name:
8 = @comment.username
9 %li
10 Email:
11 = @comment.email
12 - unless @comment.website.empty?
13 %li
14 Website:
15 = @comment.website
16%p Here is the comment:
17%blockquote= @comment.body
18%p
19 Posted:
20 = @comment.published_at.strftime("%B #{@comment.published_at.day.ordinalize}, %Y at %-I:%M:%S%P")
21%p= link_to "See the comment on the web", blog_url(@comment.blog, anchor: "comment-#{@comment.id}")