mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
Removed more non-community (aka Prem/Premium/License) code
This commit is contained in:
parent
d5665463fe
commit
e3e5929b21
35 changed files with 140 additions and 792 deletions
|
|
@ -22,12 +22,8 @@ class PaneSettingsAdminView extends AbstractViewNext {
|
|||
constructor() {
|
||||
super();
|
||||
|
||||
this.adminDomain = ko.observable(Settings.settingsGet('AdminDomain'));
|
||||
this.version = ko.observable(Settings.appSettingsGet('version'));
|
||||
|
||||
this.capa = !!Settings.settingsGet('PremType');
|
||||
this.community = RL_COMMUNITY;
|
||||
|
||||
this.adminManLoading = ko.computed(
|
||||
() =>
|
||||
'000' !==
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import Promises from 'Promises/User/Ajax';
|
||||
|
||||
import { popup } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
|
||||
@popup({
|
||||
name: 'View/Popup/WelcomePage',
|
||||
templateID: 'PopupsWelcomePage'
|
||||
})
|
||||
class WelcomePagePopupView extends AbstractViewNext {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.welcomePageURL = ko.observable('');
|
||||
}
|
||||
|
||||
clearPopup() {
|
||||
this.welcomePageURL('');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} sUrl
|
||||
* @returns {void}
|
||||
*/
|
||||
onShow(sUrl) {
|
||||
this.clearPopup();
|
||||
|
||||
this.welcomePageURL(sUrl);
|
||||
}
|
||||
|
||||
onHide() {
|
||||
Promises.welcomeClose();
|
||||
}
|
||||
}
|
||||
|
||||
export { WelcomePagePopupView, WelcomePagePopupView as default };
|
||||
Loading…
Add table
Add a link
Reference in a new issue