diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-10-01 09:50:49 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-10-01 09:50:49 +0300 |
commit | 740c70574853f11d82d8e06582073a96d227b768 (patch) | |
tree | 2141989b5514decf392ffc6d45c75f461edb727e | |
parent | a1d06727399a0d5a0cc11aee6a16ea253548727d (diff) | |
parent | 0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6 (diff) | |
download | wekan-740c70574853f11d82d8e06582073a96d227b768.tar.gz wekan-740c70574853f11d82d8e06582073a96d227b768.tar.bz2 wekan-740c70574853f11d82d8e06582073a96d227b768.zip |
Merge branch 'fix-create_label' of https://github.com/nztqa/wekan into nztqa-fix-create_label
-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'}} |