mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
settings: Mention about /emails after sending change email mail.
This commit is contained in:
@@ -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."));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user