summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-10-01 09:50:49 +0300
committerLauri Ojansivu <x@xet7.org>2017-10-01 09:50:49 +0300
commit740c70574853f11d82d8e06582073a96d227b768 (patch)
tree2141989b5514decf392ffc6d45c75f461edb727e
parenta1d06727399a0d5a0cc11aee6a16ea253548727d (diff)
parent0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6 (diff)
downloadwekan-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.jade3
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'}}