Skip to content

Node.js based forum software built for the modern web

notification email fixes

Baris Usakliea3fde332b9d
diff --git a/public/images/emails/notification.png b/public/images/emails/notification.png
new file mode 100644
index 0000000000..4a45ab6e47
Binary files /dev/null and b/public/images/emails/notification.png differ
diff --git a/src/views/emails/notification.tpl b/src/views/emails/notification.tpl
index b0f79b042c..d1301ace7a 100644
--- a/src/views/emails/notification.tpl
+++ b/src/views/emails/notification.tpl
@@ -6,7 +6,7 @@
<!-- Hero Image, Flush : BEGIN -->
<tr>
<td bgcolor="#efeff0" style="text-align: center; background-image: url({url}/assets/images/emails/triangularbackground.png); background-size: cover; background-repeat: no-repeat;">
- <img src="{url}/assets/images/emails/unreadpost.png" width="300" height="300" border="0" align="center" style="width: 300px; height: 300px; max-width: 300px; height: auto; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;" class="g-img">
+ <img src="{url}/assets/images/emails/notification.png" width="300" height="300" border="0" align="center" style="width: 300px; height: 300px; max-width: 300px; height: auto; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;" class="g-img">
</td>
</tr>
<!-- Hero Image, Flush : END -->
diff --git a/src/views/emails/partials/footer.tpl b/src/views/emails/partials/footer.tpl
index 23a9371134..20bbd90f0e 100644
--- a/src/views/emails/partials/footer.tpl
+++ b/src/views/emails/partials/footer.tpl
@@ -4,7 +4,7 @@
<td style="padding: 40px 10px;width: 100%;font-size: 12px; font-family: sans-serif; line-height:18px; text-align: center; color: #888888;">
<br><br>
<!-- IF showUnsubscribe -->
- [[email:notif.post.unsub.info]] <a href="{url}/user/{userslug}/settings">[[email:unsub.cta]]</a>.
+ [[email:notif.post.unsub.info]] <a href="{url}/uid/{uid}/settings">[[email:unsub.cta]]</a>.
<!-- ENDIF showUnsubscribe -->
<br><br>
</td>