diff options
author | Felix Michels <felix.michels@deutschebahn.com> | 2017-09-22 09:50:40 +0200 |
---|---|---|
committer | Felix Michels <felix.michels@deutschebahn.com> | 2017-09-22 09:50:40 +0200 |
commit | 0bbfa632f77cf52333af312a4694bbcce6de92b7 (patch) | |
tree | 6e8d493e0ef9e2772dee6c6053b88ccdc8b026c2 /models | |
parent | f98d640e1eae92d98eea3ae10cc46198a51f8f26 (diff) | |
download | wekan-0bbfa632f77cf52333af312a4694bbcce6de92b7.tar.gz wekan-0bbfa632f77cf52333af312a4694bbcce6de92b7.tar.bz2 wekan-0bbfa632f77cf52333af312a4694bbcce6de92b7.zip |
add translation (en/de) for email notifications regarding checklists and checklist items
Diffstat (limited to 'models')
-rw-r--r-- | models/activities.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models/activities.js b/models/activities.js index c732a940..4ddcfa72 100644 --- a/models/activities.js +++ b/models/activities.js @@ -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'); |