diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-28 12:15:29 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-28 12:15:29 +0200 |
commit | dc3cbdd20e59c2cc92a4acfeb1230ce71ac4a7c1 (patch) | |
tree | d95ad91548aee35dd7bb3c26c4307edac73c903a /client/components/sidebar/sidebar.jade | |
parent | 732aa5eccb7fc96b87104b53fbd579e7fe9e6e18 (diff) | |
download | wekan-dc3cbdd20e59c2cc92a4acfeb1230ce71ac4a7c1.tar.gz wekan-dc3cbdd20e59c2cc92a4acfeb1230ce71ac4a7c1.tar.bz2 wekan-dc3cbdd20e59c2cc92a4acfeb1230ce71ac4a7c1.zip |
Hide feature non-member users can't use
Fixes #206
Fixes #244
Diffstat (limited to 'client/components/sidebar/sidebar.jade')
-rw-r--r-- | client/components/sidebar/sidebar.jade | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade index a28c9d2f..f162fd6c 100644 --- a/client/components/sidebar/sidebar.jade +++ b/client/components/sidebar/sidebar.jade @@ -43,8 +43,9 @@ template(name="labelsWidget") each currentBoard.labels a.card-label(class="card-label-{{color}}").js-label span.card-label-name= name - a.card-label.add-label.js-add-label - i.fa.fa-plus + if currentUser.isBoardAdmin + a.card-label.add-label.js-add-label + i.fa.fa-plus template(name="memberPopup") .board-member-menu |