diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 16:11:31 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 16:11:31 -0500 |
| commit | 222dbaf5c23b41eabb75a83784bd4d110e981547 (patch) | |
| tree | b62c594df5c41e5d3e3ee38d6a543adb1daa8539 /app/views/vote_mailer | |
| parent | a996f3bd05fc480247fd112f23fa3e67f7d5d7b5 (diff) | |
| download | thoughts-222dbaf5c23b41eabb75a83784bd4d110e981547.tar.gz thoughts-222dbaf5c23b41eabb75a83784bd4d110e981547.tar.bz2 thoughts-222dbaf5c23b41eabb75a83784bd4d110e981547.zip | |
Daily upvote email now includes details about webmention likes
Diffstat (limited to 'app/views/vote_mailer')
| -rw-r--r-- | app/views/vote_mailer/daily_report_email.html.haml | 4 | ||||
| -rw-r--r-- | app/views/vote_mailer/daily_report_email.text.erb | 2 |
2 files changed, 3 insertions, 3 deletions
| diff --git a/app/views/vote_mailer/daily_report_email.html.haml b/app/views/vote_mailer/daily_report_email.html.haml index ab54df2..33458f1 100644 --- a/app/views/vote_mailer/daily_report_email.html.haml +++ b/app/views/vote_mailer/daily_report_email.html.haml | |||
| @@ -3,6 +3,6 @@ | |||
| 3 | %ul | 3 | %ul |
| 4 | - @entries.each do |entry| | 4 | - @entries.each do |entry| |
| 5 | %li | 5 | %li |
| 6 | %strong= pluralize(entry.size, "person") | 6 | = voters_list(entry, html: true) |
| 7 | left an upvote on | 7 | upvoted |
| 8 | = link_to entry.first.votable.title, entry.first.votable, style: "font-weight: bold; font-style: italic" | 8 | = link_to entry.first.votable.title, entry.first.votable, style: "font-weight: bold; font-style: italic" |
| diff --git a/app/views/vote_mailer/daily_report_email.text.erb b/app/views/vote_mailer/daily_report_email.text.erb index 22ea368..5fc0b31 100644 --- a/app/views/vote_mailer/daily_report_email.text.erb +++ b/app/views/vote_mailer/daily_report_email.text.erb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | Users have upvoted content on Four Island in the last day! | 1 | Users have upvoted content on Four Island in the last day! |
| 2 | 2 | ||
| 3 | <% @entries.each do |entry| %> | 3 | <% @entries.each do |entry| %> |
| 4 | - <%= pluralize(entry.size, "person") %> left an upvote on <%= entry.first.votable.title %> (<%= url_for(entry.first.votable) %>) | 4 | - <%= voters_list(entry) %> upvoted <%= entry.first.votable.title %> (<%= url_for(entry.first.votable) %>) |
| 5 | <% end %> | 5 | <% end %> |
