diff options
author | nztqa <nztqa@users.noreply.github.com> | 2017-09-29 15:02:35 +0900 |
---|---|---|
committer | nztqa <nztqa@users.noreply.github.com> | 2017-09-29 15:02:35 +0900 |
commit | 0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6 (patch) | |
tree | ae01575d2006958c3883b0efd917d8278e18a88e /client/components | |
parent | eb945f26a3be316fb2ae4452d6db45a11f8b91d4 (diff) | |
download | wekan-0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6.tar.gz wekan-0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6.tar.bz2 wekan-0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6.zip |
Add check to see if permission
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/cards/labels.jade | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/cards/labels.jade b/client/components/cards/labels.jade index 31bd4d06..6c6efb08 100644 --- a/client/components/cards/labels.jade +++ b/client/components/cards/labels.jade @@ -34,4 +34,5 @@ template(name="cardLabelsPopup") = name if(isLabelSelected ../_id) i.card-label-selectable-icon.fa.fa-check - a.quiet-button.full.js-add-label {{_ 'label-create'}} + if currentUser.isBoardAdmin + a.quiet-button.full.js-add-label {{_ 'label-create'}} |