{{t "Automated messages and emails" }}

{{> settings_save_discard_widget section_name="notifications" }}
{{> settings_checkbox setting_name="realm_send_welcome_emails" prefix="id_" is_checked=realm_send_welcome_emails label=admin_settings_label.realm_send_welcome_emails}} {{#if settings_send_digest_emails }} {{> settings_checkbox setting_name="realm_digest_emails_enabled" prefix="id_" is_checked=realm_digest_emails_enabled label=admin_settings_label.realm_digest_emails_enabled}} {{/if}}
{{> dropdown_list_widget widget_name="realm_notifications_stream_id" list_placeholder=(t 'Filter streams') reset_button_text=(t '[Disable]') label=admin_settings_label.realm_notifications_stream value_type="number" }} {{> dropdown_list_widget widget_name="realm_signup_notifications_stream_id" list_placeholder=(t 'Filter streams') reset_button_text=(t '[Disable]') label=admin_settings_label.realm_signup_notifications_stream value_type="number" }}
{{> language_selection_widget section_name="realm_default_language" setting_value=realm_default_language_name language_code=realm_default_language_code section_title=admin_settings_label.realm_default_language help_link_widget_link="/help/configure-organization-language"}}

{{t "Message retention" }} {{> ../help_link_widget link="/help/message-retention-policy" }}

{{> settings_save_discard_widget section_name="message-retention" }}
{{> upgrade_tip_widget }}

{{t "Other settings" }}

{{> settings_save_discard_widget section_name="other-settings" }}
{{> dropdown_list_widget widget_name="realm_default_code_block_language" list_placeholder=(t 'Filter languages') reset_button_text=(t '[Unset]') label=admin_settings_label.realm_default_code_block_language value_type="string" }} {{> settings_checkbox setting_name="realm_message_content_allowed_in_email_notifications" prefix="id_" is_checked=realm_message_content_allowed_in_email_notifications label=admin_settings_label.realm_message_content_allowed_in_email_notifications}} {{> settings_checkbox setting_name="realm_mandatory_topics" prefix="id_" is_checked=realm_mandatory_topics label=admin_settings_label.realm_mandatory_topics}} {{> settings_checkbox setting_name="realm_enable_read_receipts" prefix="id_" is_checked=realm_enable_read_receipts label=admin_settings_label.realm_enable_read_receipts label_parens_text=admin_settings_label.realm_enable_read_receipts_parens_text}} {{#if server_inline_image_preview}} {{> settings_checkbox setting_name="realm_inline_image_preview" prefix="id_" is_checked=realm_inline_image_preview label=admin_settings_label.realm_inline_image_preview help_link="/help/allow-image-link-previews"}} {{/if}} {{#if server_inline_url_embed_preview}} {{> settings_checkbox setting_name="realm_inline_url_embed_preview" prefix="id_" is_checked=realm_inline_url_embed_preview label=admin_settings_label.realm_inline_url_embed_preview help_link="/help/allow-image-link-previews"}} {{/if}}