org-settings: Add setting to turn off welcome emails.

This adds an organization-level setting to provide an option to turn
off the welcome emails.

Fixes #8000.
This commit is contained in:
Aastha Gupta
2018-02-18 14:04:54 +05:30
committed by Tim Abbott
parent 71829f3373
commit d124597f4b
9 changed files with 45 additions and 2 deletions

View File

@@ -281,6 +281,11 @@ function _set_up() {
type: 'text',
msg: i18n.t("Default language changed!"),
},
send_welcome_emails: {
type: 'bool',
checked_msg: i18n.t("Send emails to new users explaining how to use Zulip!"),
unchecked_msg: i18n.t("Don't send emails to new users explaining how to use Zulip!"),
},
allow_message_deleting: {
type: 'bool',
checked_msg: i18n.t("Users can delete their messages!"),