settings: Mention about /emails after sending change email mail.

This commit is contained in:
Vishnu Ks
2017-10-02 21:27:22 +00:00
committed by Tim Abbott
parent 0c35bd60cf
commit 80fc9cda3a
2 changed files with 3 additions and 1 deletions

View File

@@ -159,7 +159,9 @@ exports.set_up = function () {
data: data, data: data,
success: function (data) { success: function (data) {
if ('account_email' in data) { if ('account_email' in data) {
var email_msg = templates.render('dev_env_email_access');
settings_change_success(data.account_email); settings_change_success(data.account_email);
$("#account-settings-status").append(email_msg);
} else { } else {
settings_change_success(i18n.t("No changes made.")); settings_change_success(i18n.t("No changes made."));
} }

View File

@@ -126,7 +126,7 @@ def json_change_settings(request, user_profile,
return json_error(skipped) return json_error(skipped)
do_start_email_change_process(user_profile, new_email) do_start_email_change_process(user_profile, new_email)
result['account_email'] = _("Check your email for a confirmation link.") result['account_email'] = _("Check your email for a confirmation link. ")
if user_profile.full_name != full_name and full_name.strip() != "": if user_profile.full_name != full_name and full_name.strip() != "":
if name_changes_disabled(user_profile.realm): if name_changes_disabled(user_profile.realm):