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