From: Aidan Cornelius-Bell Date: Fri, 22 Nov 2024 22:50:34 +0000 (+1030) Subject: Fixed weekly digest issues (formatting, links) X-Git-Url: https://gitweb.mndrdr.org/?a=commitdiff_plain;h=57bee07297a8bc8bccd520eb5a68112144cf3097;p=arelpe.git Fixed weekly digest issues (formatting, links) --- diff --git a/app/views/digest_mailer/weekly_bookmarks_digest.html.erb b/app/views/digest_mailer/weekly_bookmarks_digest.html.erb index ace210c..24a7221 100644 --- a/app/views/digest_mailer/weekly_bookmarks_digest.html.erb +++ b/app/views/digest_mailer/weekly_bookmarks_digest.html.erb @@ -1,20 +1,19 @@

Dear <%= @user.first_name %>,

-

Here's what's new from mind reader this week:

- <% @bookmarks.group_by { |bookmark| bookmark.created_at.to_date }.each do |date, bookmarks| %> -

On <%= date.strftime('%B %e, %Y') %>:

- +

On <%= date.strftime('%B %e, %Y') %>:

<% end %> -

Have a great weekend,
Aidan.

+