diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/components/main/popup.styl | 2 | ||||
-rw-r--r-- | client/components/sidebar/sidebar.jade | 21 |
2 files changed, 12 insertions, 11 deletions
diff --git a/client/components/main/popup.styl b/client/components/main/popup.styl index 41186f12..e44bb5c6 100644 --- a/client/components/main/popup.styl +++ b/client/components/main/popup.styl @@ -133,7 +133,7 @@ $popupWidth = 300px cursor: pointer display: block font-weight: 700 - padding: 6px 10px + padding: 0px 10px position: relative margin: 0 -10px text-decoration: none diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade index 9c15c4f1..a28c9d2f 100644 --- a/client/components/sidebar/sidebar.jade +++ b/client/components/sidebar/sidebar.jade @@ -59,16 +59,17 @@ template(name="memberPopup") ul.pop-over-list li a.js-filter-member Filter cards - if currentUser.isBoardAdmin - li - a.js-change-role - | {{_ 'change-permissions'}} - span.quiet (#{memberType}) - li - if currentUser.isBoardAdmin - a.js-remove-member {{_ 'remove-from-board'}} - else - a.js-leave-member {{_ 'leave-board'}} + unless isSandstorm + if currentUser.isBoardAdmin + li + a.js-change-role + | {{_ 'change-permissions'}} + span.quiet (#{memberType}) + li + if currentUser.isBoardAdmin + a.js-remove-member {{_ 'remove-from-board'}} + else + a.js-leave-member {{_ 'leave-board'}} template(name="removeMemberPopup") |