diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-08-14 19:36:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-14 19:36:39 +0300 |
commit | d295cb838522d19c5fcc853a017edff3f1f9e1a5 (patch) | |
tree | cff88ae1e68342147ef98ae4b4ae9a20235ee005 /server | |
parent | ece011f6aee8ffffe161da2788ab317b78fe388f (diff) | |
parent | 7198e6b66eaf622fb8378d928bd8a85df8da7505 (diff) | |
download | wekan-d295cb838522d19c5fcc853a017edff3f1f9e1a5.tar.gz wekan-d295cb838522d19c5fcc853a017edff3f1f9e1a5.tar.bz2 wekan-d295cb838522d19c5fcc853a017edff3f1f9e1a5.zip |
Merge pull request #2615 from whowillcare/master
Time line is missing delete/edit comments
Diffstat (limited to 'server')
-rw-r--r-- | server/notifications/email.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/notifications/email.js b/server/notifications/email.js index deb140a6..0373deb0 100644 --- a/server/notifications/email.js +++ b/server/notifications/email.js @@ -13,9 +13,9 @@ Meteor.startup(() => { const lan = user.getLanguage(); const subject = TAPi18n.__(title, params, lan); // the original function has a fault, i believe the title should be used according to original author const existing = user.getEmailBuffer().length > 0; - const text = `${existing ? `\n${subject}\n` : ''}${ + const text = `${existing ? `<br/>\n${subject}<br/>\n` : ''}${ params.user - } ${TAPi18n.__(description, quoteParams, lan)}\n${params.url}`; + } ${TAPi18n.__(description, quoteParams, lan)}<br/>\n${params.url}`; user.addEmailBuffer(text); |