about summary refs log tree commit diff stats
path: root/app/views/vote_mailer/daily_report_email.text.erb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-12-07 10:33:07 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-12-07 10:33:07 -0500
commit9681897e9ace534c4559fa9be20aa86af1a42e13 (patch)
tree85fbe155f6d1db7f8e232dac40be109fa066f9ed /app/views/vote_mailer/daily_report_email.text.erb
parentde217df62df5725450ba7fd0084a00a8ebe24599 (diff)
downloadthoughts-9681897e9ace534c4559fa9be20aa86af1a42e13.tar.gz
thoughts-9681897e9ace534c4559fa9be20aa86af1a42e13.tar.bz2
thoughts-9681897e9ace534c4559fa9be20aa86af1a42e13.zip
Add daily upvote email like AO3 kudos
Diffstat (limited to 'app/views/vote_mailer/daily_report_email.text.erb')
-rw-r--r--app/views/vote_mailer/daily_report_email.text.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/vote_mailer/daily_report_email.text.erb b/app/views/vote_mailer/daily_report_email.text.erb new file mode 100644 index 0000000..22ea368 --- /dev/null +++ b/app/views/vote_mailer/daily_report_email.text.erb
@@ -0,0 +1,5 @@
1Users have upvoted content on Four Island in the last day!
2
3<% @entries.each do |entry| %>
4- <%= pluralize(entry.size, "person") %> left an upvote on <%= entry.first.votable.title %> (<%= url_for(entry.first.votable) %>)
5<% end %>