diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index 8ff618c11..793392ca3 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -81,6 +81,12 @@ margin-bottom: 0; margin-top: 0; } + + .footer { + border-top: 1px solid #ccc; + margin-top: 3em; + padding-top: 1em; + } .notification { margin-top: 1rem; diff --git a/app/views/mailers/notification/bundle_mailer/notification.html.erb b/app/views/mailers/notification/bundle_mailer/notification.html.erb index 4e881739b..31d2a3b52 100644 --- a/app/views/mailers/notification/bundle_mailer/notification.html.erb +++ b/app/views/mailers/notification/bundle_mailer/notification.html.erb @@ -3,5 +3,9 @@

Everything since <%= @bundle.starts_at.strftime("%-l%P on %A, %B %-d") %>

You have <%= link_to pluralize(@notifications.count, "new notification"), notifications_url %>.

<%= render partial: "notification/bundle_mailer/notification", collection: @notifications, as: :notification %> + diff --git a/app/views/mailers/notification/bundle_mailer/notification.text.erb b/app/views/mailers/notification/bundle_mailer/notification.text.erb index c4c7c7c55..05827cc67 100644 --- a/app/views/mailers/notification/bundle_mailer/notification.text.erb +++ b/app/views/mailers/notification/bundle_mailer/notification.text.erb @@ -2,3 +2,12 @@ Everything since <%= @bundle.starts_at.strftime("%-l%P on %A, %B %-d") %> You have <%= pluralize @notifications.count, "new notification" %>. <%= render partial: "notification/bundle_mailer/notification", collection: @notifications, as: :notification %> +-------------------------------------------------------------------------------- + +Fizzy emails you about new notifications every few hours. + +Change how often you get these: +<%= settings_notifications_url %> + +Unsubscribe from all email notifications: +<%= root_url %>