mirror of
https://github.com/wekan/wekan.git
synced 2026-02-09 17:54:21 +01:00
Reverted New UI Design of WeKan v8.29 and added more fixes and performance improvements.
Thanks to xet7 !
This commit is contained in:
parent
d152d8fc1b
commit
1b8b8d2eef
196 changed files with 17659 additions and 10028 deletions
|
|
@ -168,33 +168,22 @@ Template.invitePeoplePopup.events({
|
|||
},
|
||||
});
|
||||
|
||||
Template.editProfilePopup.onCreated(function() {
|
||||
this.subscribe('accountSettings');
|
||||
});
|
||||
|
||||
Template.editProfilePopup.helpers({
|
||||
allowEmailChange() {
|
||||
Meteor.call('AccountSettings.allowEmailChange', (_, result) => {
|
||||
if (result) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
const setting = AccountSettings.findOne('accounts-allowEmailChange');
|
||||
return setting && setting.booleanValue;
|
||||
},
|
||||
allowUserNameChange() {
|
||||
Meteor.call('AccountSettings.allowUserNameChange', (_, result) => {
|
||||
if (result) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
const setting = AccountSettings.findOne('accounts-allowUserNameChange');
|
||||
return setting && setting.booleanValue;
|
||||
},
|
||||
allowUserDelete() {
|
||||
Meteor.call('AccountSettings.allowUserDelete', (_, result) => {
|
||||
if (result) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
const setting = AccountSettings.findOne('accounts-allowUserDelete');
|
||||
return setting && setting.booleanValue;
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -342,7 +331,6 @@ Template.changeLanguagePopup.events({
|
|||
},
|
||||
});
|
||||
TAPi18n.setLanguage(this.tag);
|
||||
Popup.close();
|
||||
event.preventDefault();
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue