Stub unsubscribe footer

This commit is contained in:
Jason Zimdars
2025-08-27 11:32:16 -05:00
parent 2fb3e192b8
commit eff5185a17
3 changed files with 19 additions and 0 deletions
+6
View File
@@ -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;
@@ -3,5 +3,9 @@
<h1 class="title">Everything since <%= @bundle.starts_at.strftime("%-l%P on %A, %B %-d") %></h1>
<p class="subtitle">You have <%= link_to pluralize(@notifications.count, "new notification"), notifications_url %>.</p>
<%= render partial: "notification/bundle_mailer/notification", collection: @notifications, as: :notification %>
<p class="footer">Fizzy emails you about new notifications every few hours. <br>
<%= link_to "Change how often you get these", settings_notifications_url %>
or <%= link_to "unsubscribe from all email notifications", root_url %>.
</p>
</td>
</tr>
@@ -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 %>