diff options
author | lkisme <lkisme@me.com> | 2017-02-24 22:10:38 +0800 |
---|---|---|
committer | lkisme <lkisme@me.com> | 2017-02-24 22:10:38 +0800 |
commit | 1dfb6ef477dba4d0faf4bf86026647f43fb2f5f6 (patch) | |
tree | 2c97395901ac5789975a65d5efc6eaf0e37c1e5d /client/components/users | |
parent | 29fdfb9c886f1a906a27398fd546ad6cdb929ff9 (diff) | |
download | wekan-1dfb6ef477dba4d0faf4bf86026647f43fb2f5f6.tar.gz wekan-1dfb6ef477dba4d0faf4bf86026647f43fb2f5f6.tar.bz2 wekan-1dfb6ef477dba4d0faf4bf86026647f43fb2f5f6.zip |
Admin panel:
Only invited user can register in strict mode,
Set mail server in admin panel,
Switch strict mode in admin panel,
Invite people to system in admin panel
Diffstat (limited to 'client/components/users')
-rw-r--r-- | client/components/users/userHeader.jade | 2 | ||||
-rw-r--r-- | client/components/users/userHeader.js | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/client/components/users/userHeader.jade b/client/components/users/userHeader.jade index ad41e8aa..51b0888b 100644 --- a/client/components/users/userHeader.jade +++ b/client/components/users/userHeader.jade @@ -17,6 +17,8 @@ template(name="memberMenuPopup") li: a.js-change-password {{_ 'changePasswordPopup-title'}} li: a.js-change-language {{_ 'changeLanguagePopup-title'}} li: a.js-edit-notification {{_ 'editNotificationPopup-title'}} + if currentUser.isAdmin + li: a.js-go-setting(href='/setting') {{_ 'admin-panel'}} hr ul.pop-over-list li: a.js-logout {{_ 'log-out'}} diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js index 98053ed1..73a11fc0 100644 --- a/client/components/users/userHeader.js +++ b/client/components/users/userHeader.js @@ -15,6 +15,9 @@ Template.memberMenuPopup.events({ AccountsTemplates.logout(); }, + 'click .js-go-setting'() { + Popup.close(); + }, }); Template.editProfilePopup.events({ |