summaryrefslogtreecommitdiffstats
path: root/client/components/users
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-11-27 17:52:21 +0900
committernztqa <nztqa@users.noreply.github.com>2017-11-27 17:52:21 +0900
commitc2fd03e113689e6d09930cf930e379a2f89587bc (patch)
tree47befade71785fe71ee95a366a297d5a182c84df /client/components/users
parent33b76228975aecdba827f5e41cf3e9d4f2949aa9 (diff)
downloadwekan-c2fd03e113689e6d09930cf930e379a2f89587bc.tar.gz
wekan-c2fd03e113689e6d09930cf930e379a2f89587bc.tar.bz2
wekan-c2fd03e113689e6d09930cf930e379a2f89587bc.zip
Fix permissions (isBoardMember to isNotCommentOnly)
Diffstat (limited to 'client/components/users')
-rw-r--r--client/components/users/userAvatar.jade12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/components/users/userAvatar.jade b/client/components/users/userAvatar.jade
index c61f2365..83e2c8d0 100644
--- a/client/components/users/userAvatar.jade
+++ b/client/components/users/userAvatar.jade
@@ -71,10 +71,10 @@ template(name="cardMemberPopup")
.info
h3= user.profile.fullname
p.quiet @{{ user.username }}
- if currentUser.isBoardMember
- ul.pop-over-list
- li: a.js-remove-member {{_ 'remove-member-from-card'}}
+ ul.pop-over-list
+ if currentUser.isNotCommentOnly
+ li: a.js-remove-member {{_ 'remove-member-from-card'}}
- if $eq currentUser._id user._id
- with currentUser
- li: a.js-edit-profile {{_ 'edit-profile'}}
+ if $eq currentUser._id user._id
+ with currentUser
+ li: a.js-edit-profile {{_ 'edit-profile'}}