about summary refs log tree commit diff stats
path: root/app/views/comment_mailer/new_comment_email.html.haml
blob: d16a9ca02b68fcd1a73d5a990bd9c019261bf8d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%p
  A comment has been posted on
  = link_to @comment.blog.title, @comment.blog
  by the following user:
%ul
  %li
    Name:
    = @comment.username
  %li
    Email:
    = @comment.email
  - unless @comment.website.empty?
    %li
      Website:
      = @comment.website
%p Here is the comment:
%blockquote= @comment.body
%p
  Posted:
  = @comment.published_at.strftime("%B #{@comment.published_at.day.ordinalize}, %Y at %-I:%M:%S%P")
%p= link_to "See the comment on the web", blog_url(@comment.blog, anchor: "comment-#{@comment.id}")