add translation (en/de) for email notifications regarding checklists and checklist items

This commit is contained in:
Felix Michels 2017-09-22 09:50:40 +02:00
parent f98d640e1e
commit 0bbfa632f7
3 changed files with 9 additions and 1 deletions

View file

@ -119,6 +119,10 @@ if (Meteor.isServer) {
const checklist = activity.checklist();
params.checklist = checklist.title;
}
if (activity.checklistItemId) {
const checklistItem = activity.checklistItem();
params.checklistItem = checklistItem.title;
}
if (board) {
const watchingUsers = _.pluck(_.where(board.watchers, {level: 'watching'}), 'userId');
const trackingUsers = _.pluck(_.where(board.watchers, {level: 'tracking'}), 'userId');