fixing url in footer

v1.18.x
Julian Lam 8 years ago
parent f0f856fe6b
commit a9540a13a1

@ -259,6 +259,7 @@ module.exports = function (Topics) {
subject: '[' + (meta.config.title || 'NodeBB') + '] ' + title,
intro: '[[notifications:user_posted_to, ' + postData.user.username + ', ' + titleEscaped + ']]',
postBody: postData.content.replace(/"\/\//g, '"https://'),
userslug: data.userData.userslug,
topicSlug: postData.topic.slug,
showUnsubscribe: true,
}, next);

@ -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="{base_url}/user/{userslug}/settings">[[email:unsub.cta]]</a>.
[[email:notif.post.unsub.info]] <a href="{url}/user/{userslug}/settings">[[email:unsub.cta]]</a>.
<!-- ENDIF showUnsubscribe -->
<br><br>
</td>

Loading…
Cancel
Save