This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit d221e9ff825774d95f75b6b6bcca0de617a023f3 Author: Kevin Morin <morin@codelutin.com> Date: Fri Sep 8 16:30:08 2017 +0200 fixes #106 Retour sur modification du profile --- pollen-ui-riot-js/src/main/web/i18n/en.json | 1 + pollen-ui-riot-js/src/main/web/i18n/fr.json | 1 + pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html | 1 + 3 files changed, 3 insertions(+) diff --git a/pollen-ui-riot-js/src/main/web/i18n/en.json b/pollen-ui-riot-js/src/main/web/i18n/en.json index 7d9b3a81..02f11441 100644 --- a/pollen-ui-riot-js/src/main/web/i18n/en.json +++ b/pollen-ui-riot-js/src/main/web/i18n/en.json @@ -381,6 +381,7 @@ "userProfile_emailValidationWaiting": "Validation wainting", "userProfile_resendValidation": "Send a new invitation", "userProfile_saveIdentity": "Save", + "userProfile_updatedIdentity": "Your identity has been updated", "userProfile_passwordChange": "Password change", "userProfile_oldPassword": "Old password", "userProfile_oldPassword_placeholder": "Enter your old password", diff --git a/pollen-ui-riot-js/src/main/web/i18n/fr.json b/pollen-ui-riot-js/src/main/web/i18n/fr.json index 9efd0d21..26efafc5 100644 --- a/pollen-ui-riot-js/src/main/web/i18n/fr.json +++ b/pollen-ui-riot-js/src/main/web/i18n/fr.json @@ -381,6 +381,7 @@ "userProfile_emailValidationWaiting": "En cours de validation", "userProfile_resendValidation": "Envoyer une nouvelle invitation", "userProfile_saveIdentity": "Enregistrer", + "userProfile_updatedIdentity": "Votre identité a été mise à jour", "userProfile_passwordChange": "Changement de mot de passe", "userProfile_oldPassword": "Ancien mot de passe", "userProfile_oldPassword_placeholder": "Entrez votre ancien mot de passe", diff --git a/pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html b/pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html index 19256cf4..6b0d9b86 100644 --- a/pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html @@ -181,6 +181,7 @@ require("./components/HumanInput.tag.html"); this.user.email = this.refs.email.value; userService.saveUser(this.user).then(() => { session.updateUser(); + this.bus.trigger("message", new Message(this._l("updatedIdentity"), "success")); }); }; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.