diff options
Diffstat (limited to 'app/views/vote_mailer/daily_report_email.html.haml')
| -rw-r--r-- | app/views/vote_mailer/daily_report_email.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
| diff --git a/app/views/vote_mailer/daily_report_email.html.haml b/app/views/vote_mailer/daily_report_email.html.haml new file mode 100644 index 0000000..33458f1 --- /dev/null +++ b/app/views/vote_mailer/daily_report_email.html.haml | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | %p | ||
| 2 | Users have upvoted content on Four Island in the last day! | ||
| 3 | %ul | ||
| 4 | - @entries.each do |entry| | ||
| 5 | %li | ||
| 6 | = voters_list(entry, html: true) | ||
| 7 | upvoted | ||
| 8 | = link_to entry.first.votable.title, entry.first.votable, style: "font-weight: bold; font-style: italic" | ||
