mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Assignee field like Jira #2452 , in progress.
Added features: - When selecting new assignee (+) icon, list shows names who to add. TODO: - When selecting new assignee (+) icon, list does not yet show avatars who to add. Thanks to xet7 !
This commit is contained in:
parent
e033959278
commit
32ce2b51d8
1 changed files with 13 additions and 0 deletions
|
@ -863,6 +863,19 @@ Template.cardAssigneesPopup.events({
|
|||
},
|
||||
});
|
||||
|
||||
Template.cardAssigneesPopup.helpers({
|
||||
isCardAssignee() {
|
||||
const card = Template.parentData();
|
||||
const cardAssignees = card.getAssignees();
|
||||
|
||||
return _.contains(cardAssignees, this.userId);
|
||||
},
|
||||
|
||||
user() {
|
||||
return Users.findOne(this.userId);
|
||||
},
|
||||
});
|
||||
|
||||
Template.cardAssigneePopup.helpers({
|
||||
userData() {
|
||||
// We need to handle a special case for the search results provided by the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue