mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Add variables for activity notifications Fixes #2285
This commit is contained in:
parent
b680bb5372
commit
143e93f483
5 changed files with 26 additions and 0 deletions
|
@ -95,6 +95,8 @@ function itemCreation(userId, doc) {
|
|||
checklistId: doc.checklistId,
|
||||
checklistItemId: doc._id,
|
||||
checklistItemName:doc.title,
|
||||
listId: doc.listId,
|
||||
swimlaneId: doc.swimlaneId,
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -121,6 +123,8 @@ function publishCheckActivity(userId, doc){
|
|||
checklistId: doc.checklistId,
|
||||
checklistItemId: doc._id,
|
||||
checklistItemName:doc.title,
|
||||
listId: doc.listId,
|
||||
swimlaneId: doc.swimlaneId,
|
||||
};
|
||||
Activities.insert(act);
|
||||
}
|
||||
|
@ -138,6 +142,8 @@ function publishChekListCompleted(userId, doc){
|
|||
boardId,
|
||||
checklistId: doc.checklistId,
|
||||
checklistName: checkList.title,
|
||||
listId: doc.listId,
|
||||
swimlaneId: doc.swimlaneId,
|
||||
};
|
||||
Activities.insert(act);
|
||||
}
|
||||
|
@ -169,6 +175,8 @@ function publishChekListUncompleted(userId, doc){
|
|||
boardId,
|
||||
checklistId: doc.checklistId,
|
||||
checklistName: checkList.title,
|
||||
listId: doc.listId,
|
||||
swimlaneId: doc.swimlaneId,
|
||||
};
|
||||
Activities.insert(act);
|
||||
}
|
||||
|
@ -207,6 +215,8 @@ if (Meteor.isServer) {
|
|||
checklistId: doc.checklistId,
|
||||
checklistItemId: doc._id,
|
||||
checklistItemName:doc.title,
|
||||
listId: doc.listId,
|
||||
swimlaneId: doc.swimlaneId,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue