init
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
[onboarding]
|
||||
notifications_title = Notifications
|
||||
notifications_text = Movim can notify you when a new post is published or if you receive messages
|
||||
notifications_text_second = You can always disable them afterwards
|
||||
public_title = Public profile
|
||||
public_text = Make your profile public and allow other users to find you and make new contacts more easily
|
||||
public_text_second = You can always disable this in the configuration afterwards
|
||||
@@ -0,0 +1,15 @@
|
||||
var Onboarding = {
|
||||
check: function() {
|
||||
if (localStorage.getItem('onboardingPublic') === null) {
|
||||
Onboarding_ajaxAskPublic();
|
||||
}
|
||||
},
|
||||
|
||||
setPublic: function() {
|
||||
localStorage.setItem('onboardingPublic', true);
|
||||
}
|
||||
}
|
||||
|
||||
MovimWebsocket.attach(function() {
|
||||
Onboarding.check();
|
||||
});
|
||||
Reference in New Issue
Block a user