Explorar el Código

Merge branch 'fix-create_label' of https://github.com/nztqa/wekan into nztqa-fix-create_label

Lauri Ojansivu hace 8 años
padre
commit
740c705748
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      client/components/cards/labels.jade

+ 2 - 1
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'}}