summaryrefslogtreecommitdiffstats
path: root/client/components/cards
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-09-29 15:02:35 +0900
committernztqa <nztqa@users.noreply.github.com>2017-09-29 15:02:35 +0900
commit0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6 (patch)
treeae01575d2006958c3883b0efd917d8278e18a88e /client/components/cards
parenteb945f26a3be316fb2ae4452d6db45a11f8b91d4 (diff)
downloadwekan-0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6.tar.gz
wekan-0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6.tar.bz2
wekan-0e43a5561b5c9cd7bb627cb1b44274f2ff72b1f6.zip
Add check to see if permission
Diffstat (limited to 'client/components/cards')
-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'}}