diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-10-11 22:47:11 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-10-11 22:47:11 +0300 |
commit | b4402b72ac8beb93528b789d3d319d44dd483f29 (patch) | |
tree | ace57f5bf6d12522548a5bbc8813c00d91af6121 /client/components/users/userHeader.js | |
parent | 6742dd05853352d68fdfbad1eec71365b4e53732 (diff) | |
parent | 23a35d9707f82391c74afbfbe47173815646e589 (diff) | |
download | wekan-b4402b72ac8beb93528b789d3d319d44dd483f29.tar.gz wekan-b4402b72ac8beb93528b789d3d319d44dd483f29.tar.bz2 wekan-b4402b72ac8beb93528b789d3d319d44dd483f29.zip |
Merge branch 'edge' of https://github.com/Akuket/wekan into Akuket-edge
Diffstat (limited to 'client/components/users/userHeader.js')
-rw-r--r-- | client/components/users/userHeader.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js index d96a9b3d..63cbb14f 100644 --- a/client/components/users/userHeader.js +++ b/client/components/users/userHeader.js @@ -9,7 +9,6 @@ Template.memberMenuPopup.events({ 'click .js-change-avatar': Popup.open('changeAvatar'), 'click .js-change-password': Popup.open('changePassword'), 'click .js-change-language': Popup.open('changeLanguage'), - 'click .js-edit-notification': Popup.open('editNotification'), 'click .js-logout'(evt) { evt.preventDefault(); @@ -89,25 +88,6 @@ Template.editProfilePopup.events({ }, }); -Template.editNotificationPopup.helpers({ - hasTag(tag) { - const user = Meteor.user(); - return user && user.hasTag(tag); - }, -}); - -// we defined github like rules, see: https://github.com/settings/notifications -Template.editNotificationPopup.events({ - 'click .js-toggle-tag-notify-participate'() { - const user = Meteor.user(); - if (user) user.toggleTag('notify-participate'); - }, - 'click .js-toggle-tag-notify-watch'() { - const user = Meteor.user(); - if (user) user.toggleTag('notify-watch'); - }, -}); - // XXX For some reason the useraccounts autofocus isnt working in this case. // See https://github.com/meteor-useraccounts/core/issues/384 Template.changePasswordPopup.onRendered(function () { |