mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 17:35:46 +01:00
fixing url in footer
This commit is contained in:
@@ -259,6 +259,7 @@ module.exports = function (Topics) {
|
|||||||
subject: '[' + (meta.config.title || 'NodeBB') + '] ' + title,
|
subject: '[' + (meta.config.title || 'NodeBB') + '] ' + title,
|
||||||
intro: '[[notifications:user_posted_to, ' + postData.user.username + ', ' + titleEscaped + ']]',
|
intro: '[[notifications:user_posted_to, ' + postData.user.username + ', ' + titleEscaped + ']]',
|
||||||
postBody: postData.content.replace(/"\/\//g, '"https://'),
|
postBody: postData.content.replace(/"\/\//g, '"https://'),
|
||||||
|
userslug: data.userData.userslug,
|
||||||
topicSlug: postData.topic.slug,
|
topicSlug: postData.topic.slug,
|
||||||
showUnsubscribe: true,
|
showUnsubscribe: true,
|
||||||
}, next);
|
}, 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;">
|
<td style="padding: 40px 10px;width: 100%;font-size: 12px; font-family: sans-serif; line-height:18px; text-align: center; color: #888888;">
|
||||||
<br><br>
|
<br><br>
|
||||||
<!-- IF showUnsubscribe -->
|
<!-- 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 -->
|
<!-- ENDIF showUnsubscribe -->
|
||||||
<br><br>
|
<br><br>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user