about summary refs log tree commit diff stats
path: root/app/views/comment_mailer/new_pending_comment_email.html.haml
blob: d3f7dcad76abfc91aeaebfa38b2bc78cea7138aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%p
  A new comment has been posted on
  = link_to @comment.blog.title, @comment.blog
  that is pending moderation.
%p The details of the user that posted it:
%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.created_at.strftime("%B #{@comment.created_at.day.ordinalize}, %Y at %-I:%M:%S%P")
%p= link_to "Go to the admin panel", pending_admin_comments_url