2017-02-09 08:10:58 +01:00
|
|
|
<div id="organization-settings" data-name="organization-settings" class="settings-section">
|
2023-01-10 11:33:08 +01:00
|
|
|
<form class="admin-realm-form org-settings-form">
|
2017-08-18 01:23:55 +02:00
|
|
|
|
2022-11-03 13:18:42 +01:00
|
|
|
<div id="org-notifications" class="settings-subsection-parent">
|
2019-02-07 22:40:51 +01:00
|
|
|
<div class="subsection-header">
|
2022-06-27 22:34:52 +02:00
|
|
|
<h3>{{t "Automated messages and emails" }}</h3>
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_save_discard_widget section_name="notifications" }}
|
2019-02-07 22:40:51 +01:00
|
|
|
</div>
|
|
|
|
<div class="inline-block organization-settings-parent">
|
2023-05-02 19:10:43 +02:00
|
|
|
<div class="realm_default_language">
|
|
|
|
{{> 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"}}
|
|
|
|
</div>
|
|
|
|
|
2023-07-19 16:14:00 +02:00
|
|
|
{{> ../dropdown_widget_with_label
|
2024-02-07 12:13:02 +01:00
|
|
|
widget_name="realm_new_stream_announcements_stream_id"
|
|
|
|
label=admin_settings_label.realm_new_stream_announcements_stream
|
2023-07-19 16:14:00 +02:00
|
|
|
value_type="number"}}
|
2023-05-02 19:10:43 +02:00
|
|
|
|
2023-07-19 16:14:00 +02:00
|
|
|
{{> ../dropdown_widget_with_label
|
2024-02-07 17:11:43 +01:00
|
|
|
widget_name="realm_signup_announcements_stream_id"
|
|
|
|
label=admin_settings_label.realm_signup_announcements_stream
|
2023-07-19 16:14:00 +02:00
|
|
|
value_type="number"}}
|
|
|
|
|
2024-01-26 14:45:37 +01:00
|
|
|
{{> ../dropdown_widget_with_label
|
|
|
|
widget_name="realm_zulip_update_announcements_stream_id"
|
|
|
|
label=admin_settings_label.realm_zulip_update_announcements_stream
|
|
|
|
value_type="number"}}
|
2023-05-02 19:10:43 +02:00
|
|
|
|
2023-05-02 19:13:41 +02:00
|
|
|
{{> 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}}
|
|
|
|
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_checkbox
|
|
|
|
setting_name="realm_send_welcome_emails"
|
|
|
|
prefix="id_"
|
|
|
|
is_checked=realm_send_welcome_emails
|
|
|
|
label=admin_settings_label.realm_send_welcome_emails}}
|
2019-04-06 06:34:49 +02:00
|
|
|
{{#if settings_send_digest_emails }}
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_checkbox
|
|
|
|
setting_name="realm_digest_emails_enabled"
|
|
|
|
prefix="id_"
|
|
|
|
is_checked=realm_digest_emails_enabled
|
|
|
|
label=admin_settings_label.realm_digest_emails_enabled}}
|
2019-04-06 06:34:49 +02:00
|
|
|
{{/if}}
|
2019-05-08 08:01:56 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="realm_digest_weekday" class="dropdown-title">{{t "Day of the week to send digests" }}</label>
|
|
|
|
<select name="realm_digest_weekday"
|
|
|
|
id="id_realm_digest_weekday"
|
2023-02-16 10:57:08 +01:00
|
|
|
class="setting-widget prop-element settings_select bootstrap-focus-style"
|
2020-05-07 11:20:22 +02:00
|
|
|
data-setting-widget-type="number">
|
2019-05-08 08:01:56 +02:00
|
|
|
<option value="0">{{t "Monday" }}</option>
|
|
|
|
<option value="1">{{t "Tuesday" }}</option>
|
|
|
|
<option value="2">{{t "Wednesday" }}</option>
|
|
|
|
<option value="3">{{t "Thursday" }}</option>
|
|
|
|
<option value="4">{{t "Friday" }}</option>
|
|
|
|
<option value="5">{{t "Saturday" }}</option>
|
|
|
|
<option value="6">{{t "Sunday" }}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2019-02-07 22:40:51 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-11-03 13:18:42 +01:00
|
|
|
<div id="org-message-retention" class="settings-subsection-parent">
|
2020-05-07 13:19:54 +02:00
|
|
|
<div class="subsection-header">
|
2020-06-26 22:10:22 +02:00
|
|
|
<h3>{{t "Message retention" }}
|
|
|
|
{{> ../help_link_widget link="/help/message-retention-policy" }}
|
|
|
|
</h3>
|
2020-05-07 13:19:54 +02:00
|
|
|
{{> settings_save_discard_widget section_name="message-retention" }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{> upgrade_tip_widget }}
|
|
|
|
|
|
|
|
<div class="inline-block organization-settings-parent">
|
2023-01-16 10:56:14 +01:00
|
|
|
<div class="input-group time-limit-setting">
|
2022-11-04 11:11:33 +01:00
|
|
|
<label for="id_realm_message_retention_days" class="dropdown-title">{{t "Message retention period" }}
|
2020-06-11 21:16:53 +02:00
|
|
|
</label>
|
2022-11-04 11:11:33 +01:00
|
|
|
<select name="realm_message_retention_days"
|
2023-02-16 10:57:08 +01:00
|
|
|
id="id_realm_message_retention_days" class="prop-element settings_select bootstrap-focus-style"
|
2022-11-04 11:11:33 +01:00
|
|
|
data-setting-widget-type="message-retention-setting"
|
2020-05-07 13:19:54 +02:00
|
|
|
{{#unless zulip_plan_is_not_limited}}disabled{{/unless}}>
|
2022-11-04 11:11:33 +01:00
|
|
|
<option value="unlimited">{{t 'Retain forever' }}</option>
|
2022-12-02 04:42:38 +01:00
|
|
|
<option value="custom_period">{{t 'Custom' }}</option>
|
2020-05-07 13:19:54 +02:00
|
|
|
</select>
|
|
|
|
|
2022-12-08 01:59:39 +01:00
|
|
|
<div class="dependent-settings-block">
|
2022-11-04 11:11:33 +01:00
|
|
|
<label for="id_realm_message_retention_custom_input" class="inline-block realm-time-limit-label">
|
2022-12-02 04:42:38 +01:00
|
|
|
{{t 'Retention period (days)' }}:
|
2020-05-07 13:19:54 +02:00
|
|
|
</label>
|
2022-11-04 11:11:33 +01:00
|
|
|
<input type="text" id="id_realm_message_retention_custom_input" autocomplete="off"
|
|
|
|
name="realm_message_retention_custom_input"
|
2023-01-16 10:56:14 +01:00
|
|
|
class="admin-realm-message-retention-days message-retention-setting-custom-input time-limit-custom-input"
|
2020-05-07 13:19:54 +02:00
|
|
|
data-setting-widget-type="number"
|
|
|
|
{{#unless zulip_plan_is_not_limited}}disabled{{/unless}}/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-11-03 13:18:42 +01:00
|
|
|
<div id="org-other-settings" class="settings-subsection-parent">
|
2018-03-14 18:50:55 +01:00
|
|
|
<div class="subsection-header">
|
2019-02-07 22:57:52 +01:00
|
|
|
<h3>{{t "Other settings" }}</h3>
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_save_discard_widget section_name="other-settings" }}
|
2017-05-12 17:16:22 +02:00
|
|
|
</div>
|
2018-03-14 18:50:55 +01:00
|
|
|
<div class="inline-block organization-settings-parent">
|
2019-02-07 22:57:52 +01:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="realm_video_chat_provider" class="dropdown-title">
|
2023-10-17 15:15:56 +02:00
|
|
|
{{t 'Call provider' }}
|
2023-11-02 00:57:03 +01:00
|
|
|
{{> ../help_link_widget link="/help/start-a-call" }}
|
2019-02-07 22:57:52 +01:00
|
|
|
</label>
|
2023-02-16 10:57:08 +01:00
|
|
|
<select name="realm_video_chat_provider" class ="setting-widget prop-element settings_select bootstrap-focus-style" id="id_realm_video_chat_provider" data-setting-widget-type="number">
|
2019-02-07 22:57:52 +01:00
|
|
|
{{#each realm_available_video_chat_providers}}
|
2021-12-04 15:39:38 +01:00
|
|
|
<option value='{{this.id}}'>{{this.name}}</option>
|
2019-02-07 22:57:52 +01:00
|
|
|
{{/each}}
|
|
|
|
</select>
|
2023-09-19 18:10:23 +02:00
|
|
|
|
|
|
|
<div class="dependent-settings-block" id="realm_jitsi_server_url_setting">
|
|
|
|
<div>
|
|
|
|
<label for="id_realm_jitsi_server_url" class="dropdown-title">
|
|
|
|
{{t "Jitsi server URL" }}
|
2023-11-02 00:57:03 +01:00
|
|
|
{{> ../help_link_widget link="/help/start-a-call#configure-a-self-hosted-instance-of-jitsi-meet" }}
|
2023-09-19 18:10:23 +02:00
|
|
|
</label>
|
|
|
|
<select name="realm_jitsi_server_url" id="id_realm_jitsi_server_url" class="setting-widget prop-element settings_select bootstrap-focus-style" data-setting-widget-type="jitsi-server-url-setting">
|
|
|
|
{{#if server_jitsi_server_url}}
|
|
|
|
<option value="server_default">
|
|
|
|
{{#tr}}{server_jitsi_server_url} (default){{/tr}}
|
|
|
|
</option>
|
|
|
|
{{else}}
|
|
|
|
<option value="server_default">{{t 'Disabled' }}</option>
|
|
|
|
{{/if}}
|
|
|
|
<option value="custom">{{t 'Custom URL' }}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label for="id_realm_jitsi_server_url_custom_input" class="jitsi_server_url_custom_input_label">
|
|
|
|
{{t 'URL' }}
|
|
|
|
</label>
|
|
|
|
<input type="text" id="id_realm_jitsi_server_url_custom_input" autocomplete="off"
|
2023-12-14 16:53:21 +01:00
|
|
|
name="realm_jitsi_server_url_custom_input" class="realm_jitsi_server_url_custom_input settings_url_input" maxlength="200" />
|
2023-09-19 18:10:23 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-07 22:57:52 +01:00
|
|
|
</div>
|
2021-04-27 21:58:19 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="realm_giphy_rating" class="dropdown-title">
|
|
|
|
{{t 'GIPHY integration' }}
|
2021-05-19 20:56:53 +02:00
|
|
|
{{> ../help_link_widget link=giphy_help_link }}
|
2021-04-27 21:58:19 +02:00
|
|
|
</label>
|
2023-02-16 10:57:08 +01:00
|
|
|
<select name="realm_giphy_rating" class ="setting-widget prop-element settings_select bootstrap-focus-style" id="id_realm_giphy_rating" data-setting-widget-type="number" {{#if giphy_api_key_empty}}disabled{{/if}}>
|
2021-04-27 21:58:19 +02:00
|
|
|
{{#each giphy_rating_options}}
|
2021-12-04 15:39:38 +01:00
|
|
|
<option value='{{this.id}}'>{{this.name}}</option>
|
2021-04-27 21:58:19 +02:00
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2019-02-07 22:57:52 +01:00
|
|
|
|
2023-07-19 16:14:00 +02:00
|
|
|
{{> ../dropdown_widget_with_label
|
2020-05-18 23:08:30 +02:00
|
|
|
widget_name="realm_default_code_block_language"
|
2022-12-29 10:59:51 +01:00
|
|
|
label=admin_settings_label.realm_default_code_block_language
|
2023-07-19 16:14:00 +02:00
|
|
|
value_type="string"}}
|
2020-03-31 15:21:27 +02:00
|
|
|
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_checkbox
|
|
|
|
setting_name="realm_mandatory_topics"
|
|
|
|
prefix="id_"
|
|
|
|
is_checked=realm_mandatory_topics
|
|
|
|
label=admin_settings_label.realm_mandatory_topics}}
|
2017-08-18 01:23:55 +02:00
|
|
|
|
2022-09-24 12:34:41 +02:00
|
|
|
{{> 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}}
|
2022-08-04 13:49:15 +02:00
|
|
|
|
2018-03-14 18:50:55 +01:00
|
|
|
{{#if server_inline_image_preview}}
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_checkbox
|
|
|
|
setting_name="realm_inline_image_preview"
|
|
|
|
prefix="id_"
|
|
|
|
is_checked=realm_inline_image_preview
|
2020-04-02 20:42:37 +02:00
|
|
|
label=admin_settings_label.realm_inline_image_preview
|
|
|
|
help_link="/help/allow-image-link-previews"}}
|
2018-03-14 18:50:55 +01:00
|
|
|
{{/if}}
|
2017-08-18 01:23:55 +02:00
|
|
|
|
2018-03-14 18:50:55 +01:00
|
|
|
{{#if server_inline_url_embed_preview}}
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_checkbox
|
|
|
|
setting_name="realm_inline_url_embed_preview"
|
|
|
|
prefix="id_"
|
|
|
|
is_checked=realm_inline_url_embed_preview
|
2020-04-02 21:40:28 +02:00
|
|
|
label=admin_settings_label.realm_inline_url_embed_preview
|
2020-04-02 20:42:37 +02:00
|
|
|
help_link="/help/allow-image-link-previews"}}
|
2018-03-14 18:50:55 +01:00
|
|
|
{{/if}}
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-12 17:16:22 +02:00
|
|
|
</form>
|
2016-10-05 02:34:45 +02:00
|
|
|
</div>
|