Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Show user name in heading of deactivation modal.
Sahil Batradf58a0740ae2
diff --git a/frontend_tests/puppeteer_tests/user-deactivation.ts b/frontend_tests/puppeteer_tests/user-deactivation.tsindex 6ecd436153a..a26fa57c948 100644--- a/frontend_tests/puppeteer_tests/user-deactivation.ts+++ b/frontend_tests/puppeteer_tests/user-deactivation.ts@@ -27,7 +27,7 @@ async function test_deactivate_user(page: Page): Promise<void> {assert.strictEqual(await common.get_text_from_selector(page, ".dialog_heading"),- "Deactivate " + (await common.get_internal_email_from_name(page, "cordelia")),+ "Deactivate " + common.fullname.cordelia,"Deactivate modal has wrong user.",);assert.strictEqual(diff --git a/static/js/settings_users.js b/static/js/settings_users.jsindex 6513a4eb371..47320e3cb83 100644--- a/static/js/settings_users.js+++ b/static/js/settings_users.js@@ -449,7 +449,7 @@ function confirm_deactivation(row, user_id, status_field) {}confirm_dialog.launch({- html_heading: $t_html({defaultMessage: "Deactivate {email}"}, {email: user.email}),+ html_heading: $t_html({defaultMessage: "Deactivate {name}"}, {name: user.full_name}),html_body,on_click: handle_confirm,});