diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-06-19 14:39:38 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-06-19 14:39:38 +0200 |
commit | 8cf9ec266055f065c428216d53018c83b63675c6 (patch) | |
tree | 7277b335901d3b5a40ab2851f227691ceb97b356 /client/components/cards/labels.jade | |
parent | fad4cba5e20b3273c2adc80b7a7c5c9fa57ed720 (diff) | |
download | wekan-8cf9ec266055f065c428216d53018c83b63675c6.tar.gz wekan-8cf9ec266055f065c428216d53018c83b63675c6.tar.bz2 wekan-8cf9ec266055f065c428216d53018c83b63675c6.zip |
Allow a user to edit its profile or avatar from a member popover
Fixes the data context on the member popover in the details pane. Also
change the way Popover detect if the click is initiated from a parent
popover -- from reading Blaze context, to looking at the event target
parents.
Diffstat (limited to 'client/components/cards/labels.jade')
-rw-r--r-- | client/components/cards/labels.jade | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/labels.jade b/client/components/cards/labels.jade index 5089f90a..5742969f 100644 --- a/client/components/cards/labels.jade +++ b/client/components/cards/labels.jade @@ -32,6 +32,6 @@ template(name="cardLabelsPopup") span.card-label.card-label-selectable.js-select-label(class="card-label-{{color}}" class="{{# if isLabelSelected ../_id }}active{{/ if }}") = name - if currentUser.isBoardAdmin - span.card-label-selectable-icon.fa.fa-check + if isLabelSelected ../_id + i.card-label-selectable-icon.fa.fa-check a.quiet-button.full.js-add-label {{_ 'label-create'}} |