about summary refs log tree commit diff stats
path: root/app/views/comment_mailer/new_pending_comment_email.text.erb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 13:18:18 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 13:18:18 -0400
commit26a7339889929025495df59776d1a33ca19c77ae (patch)
treec4d6fa581ac816fe97ace4bd9c7f5c6cacfceabd /app/views/comment_mailer/new_pending_comment_email.text.erb
parentd365294db7edd79f01b51ac30413707a556f84bb (diff)
downloadthoughts-26a7339889929025495df59776d1a33ca19c77ae.tar.gz
thoughts-26a7339889929025495df59776d1a33ca19c77ae.tar.bz2
thoughts-26a7339889929025495df59776d1a33ca19c77ae.zip
Pending comments also send you an email now
Diffstat (limited to 'app/views/comment_mailer/new_pending_comment_email.text.erb')
-rw-r--r--app/views/comment_mailer/new_pending_comment_email.text.erb19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/views/comment_mailer/new_pending_comment_email.text.erb b/app/views/comment_mailer/new_pending_comment_email.text.erb new file mode 100644 index 0000000..787d6b8 --- /dev/null +++ b/app/views/comment_mailer/new_pending_comment_email.text.erb
@@ -0,0 +1,19 @@
1A comment has been posted on <%= @comment.blog.title %> that is pending moderation.
2
3The details of the user that posted it:
4
5* Name: <%= @comment.username %>
6* Email: <%= @comment.email %>
7<% unless @comment.website.empty? %>* Website: <%= @comment.website %>
8<% end %>
9Here is the comment:
10
11---
12
13<%= @comment.body %>
14
15---
16
17Posted: <%= @comment.created_at.strftime("%B #{@comment.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") %>
18
19Go to the admin panel: <%= pending_admin_comments_url %>