summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-06-19 14:39:38 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-06-19 14:39:38 +0200
commit8cf9ec266055f065c428216d53018c83b63675c6 (patch)
tree7277b335901d3b5a40ab2851f227691ceb97b356 /client/components/boards
parentfad4cba5e20b3273c2adc80b7a7c5c9fa57ed720 (diff)
downloadwekan-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/boards')
-rw-r--r--client/components/boards/boardHeader.jade5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade
index a1d3ce9f..3847cd93 100644
--- a/client/components/boards/boardHeader.jade
+++ b/client/components/boards/boardHeader.jade
@@ -44,8 +44,9 @@ template(name="boardMenuPopup")
if currentUser.isBoardMember
ul.pop-over-list
li: a.js-open-archives Archived elements
- li: a.js-change-board-color Change color
- li: a Permissions
+ if currentUser.isBoardAdmin
+ li: a.js-change-board-color Change color
+ li: a Permissions
hr
ul.pop-over-list
li: a Copy this board