summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar/sidebar.jade
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/sidebar/sidebar.jade')
-rw-r--r--client/components/sidebar/sidebar.jade3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade
index caa698ab..a09f6a20 100644
--- a/client/components/sidebar/sidebar.jade
+++ b/client/components/sidebar/sidebar.jade
@@ -41,7 +41,8 @@ template(name="labelsWidget")
| {{_ 'labels'}}
.board-widget-content
each currentBoard.labels
- a.card-label(class="card-label-{{color}}").js-label
+ a.card-label(class="card-label-{{color}}"
+ class="{{#if currentUser.isBoardMember}}js-add-labels{{/if}}")
span.card-label-name= name
if currentUser.isBoardAdmin
a.card-label.add-label.js-add-label