mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix permissions (isBoardMember to isNotCommentOnly)
This commit is contained in:
parent
33b7622897
commit
c2fd03e113
1 changed files with 6 additions and 6 deletions
|
|
@ -71,10 +71,10 @@ template(name="cardMemberPopup")
|
||||||
.info
|
.info
|
||||||
h3= user.profile.fullname
|
h3= user.profile.fullname
|
||||||
p.quiet @{{ user.username }}
|
p.quiet @{{ user.username }}
|
||||||
if currentUser.isBoardMember
|
ul.pop-over-list
|
||||||
ul.pop-over-list
|
if currentUser.isNotCommentOnly
|
||||||
li: a.js-remove-member {{_ 'remove-member-from-card'}}
|
li: a.js-remove-member {{_ 'remove-member-from-card'}}
|
||||||
|
|
||||||
if $eq currentUser._id user._id
|
if $eq currentUser._id user._id
|
||||||
with currentUser
|
with currentUser
|
||||||
li: a.js-edit-profile {{_ 'edit-profile'}}
|
li: a.js-edit-profile {{_ 'edit-profile'}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue