diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-09-17 17:09:00 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-09-18 17:37:01 +0200 |
commit | 786423ba9d1d307be33aca1dbd5ef6a802b109ec (patch) | |
tree | a96bbd9615d2fa485f782736c3577f1cd2bb682b /client | |
parent | ec92f84f41dddf8826b5cf68e123a402599185e5 (diff) | |
download | wekan-786423ba9d1d307be33aca1dbd5ef6a802b109ec.tar.gz wekan-786423ba9d1d307be33aca1dbd5ef6a802b109ec.tar.bz2 wekan-786423ba9d1d307be33aca1dbd5ef6a802b109ec.zip |
Display “Filter cards” action for non-board members
Diffstat (limited to 'client')
-rw-r--r-- | client/components/sidebar/sidebar.jade | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade index 7f7519c6..b90b1b91 100644 --- a/client/components/sidebar/sidebar.jade +++ b/client/components/sidebar/sidebar.jade @@ -57,23 +57,22 @@ template(name="memberPopup") .js-profile= user.profile.fullname p.quiet @#{user.username} - if currentUser.isBoardMember - ul.pop-over-list - li - a.js-filter-member Filter cards + ul.pop-over-list + li + a.js-filter-member {{_ 'filter-cards'}} + if currentUser.isBoardAdmin unless isSandstorm - if currentUser.isBoardAdmin - li - a.js-change-role - | {{_ 'change-permissions'}} - span.quiet (#{memberType}) - li - if $eq currentUser._id userId - //- - XXX Not implemented! - // a.js-leave-member {{_ 'leave-board'}} - else - a.js-remove-member {{_ 'remove-from-board'}} + li + a.js-change-role + | {{_ 'change-permissions'}} + span.quiet (#{memberType}) + li + if $eq currentUser._id userId + //- + XXX Not implemented! + // a.js-leave-member {{_ 'leave-board'}} + else + a.js-remove-member {{_ 'remove-from-board'}} template(name="removeMemberPopup") |