From 57bee07297a8bc8bccd520eb5a68112144cf3097 Mon Sep 17 00:00:00 2001 From: Aidan Cornelius-Bell Date: Sat, 23 Nov 2024 09:20:34 +1030 Subject: [PATCH] Fixed weekly digest issues (formatting, links) --- .../weekly_bookmarks_digest.html.erb | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) 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.

+ -- 2.39.5