diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-10-31 02:21:50 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-10-31 02:21:50 +0200 |
commit | 9e1aaf163f3bd0b3c2d2aee8225d111f83b3d421 (patch) | |
tree | 8091ce62d88a69c2974748833e20ec6c23c6f17f /client/components/cards/cardDetails.jade | |
parent | 3f19091a913142f983e9087b069802220e29426b (diff) | |
download | wekan-9e1aaf163f3bd0b3c2d2aee8225d111f83b3d421.tar.gz wekan-9e1aaf163f3bd0b3c2d2aee8225d111f83b3d421.tar.bz2 wekan-9e1aaf163f3bd0b3c2d2aee8225d111f83b3d421.zip |
Assignee field like Jira #2452 , in progress.
Assignee can not be removed yet, it removes member, wrong link in popup.
Thanks to xet7 !
Diffstat (limited to 'client/components/cards/cardDetails.jade')
-rw-r--r-- | client/components/cards/cardDetails.jade | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 13b6bd13..639c7742 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -73,6 +73,15 @@ template(name="cardDetails") a.member.add-member.card-details-item-add-button.js-add-members(title="{{_ 'card-members-title'}}") i.fa.fa-plus + .card-details-item.card-details-item-assignees + h3.card-details-item-title {{_ 'assignee'}} + each getAssignees + +userAvatar(userId=this cardId=../_id) + | {{! XXX Hack to hide syntaxic coloration /// }} + if canModifyCard + a.assignee.add-assignee.card-details-item-add-button.js-add-assignees(title="{{_ 'assignee'}}") + i.fa.fa-plus + .card-details-item.card-details-item-labels h3.card-details-item-title {{_ 'labels'}} a(class="{{#if canModifyCard}}js-add-labels{{else}}is-disabled{{/if}}" title="{{_ 'card-labels-title'}}") @@ -296,6 +305,18 @@ template(name="cardMembersPopup") if isCardMember i.fa.fa-check +template(name="cardAssigneesPopup") + ul.pop-over-list.js-card-assignee-list + each board.activeAssignees + li.item(class="{{#if isCardAssignee}}active{{/if}}") + a.name.js-select-assignee(href="#") + +userAvatarAssignee(userId=user._id) + span.full-name + = user.profile.fullname + | (<span class="username">{{ user.username }}</span>) + if isCardAssignee + i.fa.fa-check + template(name="cardMorePopup") p.quiet span.clearfix |