mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Welcome page branding option
This commit is contained in:
parent
acb013fbb5
commit
351c12c002
50 changed files with 531 additions and 160 deletions
|
|
@ -1219,6 +1219,11 @@
|
|||
kn.showScreenPopup(require('View/Popup/TwoFactorConfiguration'), [true]);
|
||||
};
|
||||
|
||||
AppUser.prototype.bootstartWelcomePopup = function (sUrl)
|
||||
{
|
||||
kn.showScreenPopup(require('View/Popup/WelcomePage'), [sUrl]);
|
||||
};
|
||||
|
||||
AppUser.prototype.bootstartLoginScreen = function ()
|
||||
{
|
||||
Globals.$html.removeClass('rl-user-auth').addClass('rl-user-no-auth');
|
||||
|
|
@ -1416,6 +1421,13 @@
|
|||
Plugins.runHook('rl-start-user-screens');
|
||||
Events.pub('rl.bootstart-user-screens');
|
||||
|
||||
if (Settings.settingsGet('WelcomePageUrl'))
|
||||
{
|
||||
_.delay(function () {
|
||||
self.bootstartWelcomePopup(Settings.settingsGet('WelcomePageUrl'));
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
if (!!Settings.settingsGet('AccountSignMe') && window.navigator.registerProtocolHandler)
|
||||
{
|
||||
_.delay(function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue