summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-11-27 11:37:18 +0200
committerLauri Ojansivu <x@xet7.org>2017-11-27 11:37:18 +0200
commitd31d5fd47aef9699214a2635229950923e03e5e5 (patch)
tree6acc0776be03584e0921d18eca90320b54502563
parent83efd5b8720f8c97638d0c23c9ef371adf832dac (diff)
parentc2fd03e113689e6d09930cf930e379a2f89587bc (diff)
downloadwekan-d31d5fd47aef9699214a2635229950923e03e5e5.tar.gz
wekan-d31d5fd47aef9699214a2635229950923e03e5e5.tar.bz2
wekan-d31d5fd47aef9699214a2635229950923e03e5e5.zip
Merge branch 'issue-1349' of https://github.com/nztqa/wekan into nztqa-issue-1349
-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'}}