summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorFelix Michels <felix.michels@deutschebahn.com>2017-09-22 09:50:40 +0200
committerFelix Michels <felix.michels@deutschebahn.com>2017-09-22 09:50:40 +0200
commit0bbfa632f77cf52333af312a4694bbcce6de92b7 (patch)
tree6e8d493e0ef9e2772dee6c6053b88ccdc8b026c2 /models
parentf98d640e1eae92d98eea3ae10cc46198a51f8f26 (diff)
downloadwekan-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.js4
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');