summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.jade
diff options
context:
space:
mode:
authorRyan Helsing <ryanhelsing@gmail.com>2017-03-18 18:49:39 -0400
committerRyan Helsing <ryanhelsing@gmail.com>2017-03-18 18:49:39 -0400
commitde10be6a21679ad6ea3a6d97506f84d32cc72d26 (patch)
tree1c34b9656a7df29857ca079cdd105585d9f61538 /client/components/cards/cardDetails.jade
parentec9498fa627228bd411af6070645fa2ed7cd895d (diff)
downloadwekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.tar.gz
wekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.tar.bz2
wekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.zip
comment only working, naive implementation complete
Diffstat (limited to 'client/components/cards/cardDetails.jade')
-rw-r--r--client/components/cards/cardDetails.jade2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade
index 0c707eac..9c95e92f 100644
--- a/client/components/cards/cardDetails.jade
+++ b/client/components/cards/cardDetails.jade
@@ -28,7 +28,7 @@ template(name="cardDetails")
.card-details-item.card-details-item-labels
h3.card-details-item-title {{_ 'labels'}}
- a(class="{{#if currentUser.isBoardMember}}js-add-labels{{else}}is-disabled{{/if}}" title="{{_ 'card-labels-title'}}")
+ a(class="{{#if canModifyCard}}js-add-labels{{else}}is-disabled{{/if}}" title="{{_ 'card-labels-title'}}")
each labels
span.card-label(class="card-label-{{color}}" title=name)= name
if canModifyCard