mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Addfeature: showing action in system message when user deleted/edited comments, plus changing email content \n to <br/>
This commit is contained in:
parent
8d76db91b8
commit
a666883986
3 changed files with 9 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue