mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
settings: Added setting to turn on and off realm name in email subject.
Users having only account in one realm will not be distracted by realm name in subject lines of every email. Users who have multiple accounts in realms can turn this setting on and receive a corresponding realm name in email's subject. Tweaked by tabbott to rebase and address a few small issues. Fixes #5489.
This commit is contained in:
@@ -13,6 +13,7 @@ var notification_settings = [
|
||||
"enable_stream_push_notifications",
|
||||
"enable_stream_sounds",
|
||||
"pm_content_in_desktop_notifications",
|
||||
"realm_name_in_notifications",
|
||||
];
|
||||
|
||||
function maybe_bulk_update_stream_notification_setting(notification_checkbox,
|
||||
@@ -36,7 +37,7 @@ exports.set_up = function () {
|
||||
notify_settings_status.hide();
|
||||
|
||||
if (!page_params.realm_show_digest_email) {
|
||||
$("#other_notifications").hide();
|
||||
$("#digest_container").hide();
|
||||
}
|
||||
|
||||
_.each(notification_settings, function (setting) {
|
||||
|
||||
Reference in New Issue
Block a user