2017-02-09 08:10:58 +01:00
|
|
|
<div id="organization-settings" data-name="organization-settings" class="settings-section">
|
2017-05-25 00:50:07 +02:00
|
|
|
<form class="form-horizontal admin-realm-form org-settings-form">
|
2017-08-18 01:23:55 +02:00
|
|
|
|
2019-02-07 22:40:51 +01:00
|
|
|
<div id="org-notifications" class="org-subsection-parent">
|
|
|
|
<div class="subsection-header">
|
|
|
|
<h3>{{t "Notifications" }}</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">
|
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"
|
|
|
|
class="setting-widget prop-element"
|
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>
|
|
|
|
|
2020-04-10 09:38:55 +02:00
|
|
|
{{> dropdown_list_widget
|
2020-05-18 23:08:30 +02:00
|
|
|
widget_name="realm_notifications_stream_id"
|
2020-04-10 09:38:55 +02:00
|
|
|
list_placeholder=(t 'Filter streams')
|
|
|
|
reset_button_text=(t '[Disable]')
|
|
|
|
label=admin_settings_label.realm_notifications_stream }}
|
|
|
|
|
|
|
|
{{> dropdown_list_widget
|
2020-05-18 23:08:30 +02:00
|
|
|
widget_name="realm_signup_notifications_stream_id"
|
2020-04-10 09:38:55 +02:00
|
|
|
list_placeholder=(t 'Filter streams')
|
|
|
|
reset_button_text=(t '[Disable]')
|
2020-06-03 18:28:26 +02:00
|
|
|
label=admin_settings_label.realm_signup_notifications_stream }}
|
2019-02-07 22:40:51 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="org-user-defaults" class="org-subsection-parent">
|
|
|
|
<div class="subsection-header">
|
|
|
|
<h3>{{t "Default user settings" }}</h3>
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_save_discard_widget section_name="user-defaults" }}
|
2019-02-07 22:40:51 +01:00
|
|
|
</div>
|
|
|
|
<p>{{t "Default settings for new users joining this organization." }}</p>
|
|
|
|
<div class="inline-block organization-settings-parent">
|
|
|
|
<div class="input-group">
|
2019-07-30 09:52:06 +02:00
|
|
|
<label for="realm_default_language" class="dropdown-title">{{t "Default language" }}</label>
|
2020-05-07 11:20:22 +02:00
|
|
|
<select name="realm_default_language" class ="setting-widget prop-element" id="id_realm_default_language" data-setting-widget-type="string">
|
2019-02-07 22:40:51 +01:00
|
|
|
{{#each language_list}}
|
|
|
|
<option value='{{this.code}}'>{{this.name}}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2019-07-30 09:52:06 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="realm_default_twenty_four_hour_time" class="dropdown-title">{{ admin_settings_label.realm_default_twenty_four_hour_time }}</label>
|
2020-05-07 11:20:22 +02:00
|
|
|
<select name="realm_default_twenty_four_hour_time" class ="setting-widget prop-element" id="id_realm_default_twenty_four_hour_time" data-setting-widget-type="string">
|
2019-07-30 09:52:06 +02:00
|
|
|
{{#each realm_default_twenty_four_hour_time_values}}
|
|
|
|
<option value='{{ this.value }}'>{{ this.description }}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2019-02-07 22:40:51 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-07 13:19:54 +02:00
|
|
|
<div id="org-message-retention" class="org-subsection-parent">
|
|
|
|
<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">
|
|
|
|
<div class="input-group">
|
2020-06-11 21:16:53 +02:00
|
|
|
<label for="id_realm_message_retention_setting" class="dropdown-title">{{t "Message retention period" }}
|
2021-06-21 20:25:53 +02:00
|
|
|
<i class="fa fa-info-circle settings-info-icon realm_message_retention_tooltip tippy-zulip-tooltip"
|
2021-02-26 09:50:06 +01:00
|
|
|
aria-hidden="true" data-tippy-content="{{t 'Only owners can change message retention policy.' }}"></i>
|
2020-06-11 21:16:53 +02:00
|
|
|
</label>
|
2020-05-07 13:19:54 +02:00
|
|
|
<select name="realm_message_retention_setting"
|
|
|
|
id="id_realm_message_retention_setting" class="prop-element"
|
|
|
|
{{#unless zulip_plan_is_not_limited}}disabled{{/unless}}>
|
|
|
|
<option value="retain_forever">{{t 'Retain forever' }}</option>
|
|
|
|
<option value="retain_for_period">{{t 'Retain for N days after posting' }}</option>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<div class="dependent-inline-block">
|
|
|
|
<label for="id_realm_message_retention_days" class="inline-block realm-time-limit-label">
|
|
|
|
{{t 'N' }}:
|
|
|
|
</label>
|
|
|
|
<input type="text" id="id_realm_message_retention_days" autocomplete="off"
|
|
|
|
name="realm_message_retention_days"
|
|
|
|
class="admin-realm-message-retention-days prop-element"
|
|
|
|
value="{{ realm_message_retention_days }}"
|
|
|
|
data-setting-widget-type="number"
|
|
|
|
{{#unless zulip_plan_is_not_limited}}disabled{{/unless}}/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-02-28 01:17:23 +01:00
|
|
|
<div id="org-other-settings" class="org-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">
|
2021-04-14 17:47:09 +02:00
|
|
|
{{t 'Video call provider' }}
|
2019-02-07 22:57:52 +01:00
|
|
|
</label>
|
2020-05-07 11:20:22 +02:00
|
|
|
<select name="realm_video_chat_provider" class ="setting-widget prop-element" 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}}
|
2019-05-09 09:54:38 +02:00
|
|
|
<option value='{{this.id}}'>{{this.name}}</option>
|
2019-02-07 22:57:52 +01:00
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</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>
|
2021-05-19 05:18:33 +02:00
|
|
|
<select name="realm_giphy_rating" class ="setting-widget prop-element" 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}}
|
|
|
|
<option value='{{this.id}}'>{{this.name}}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2019-02-07 22:57:52 +01:00
|
|
|
|
2020-04-10 06:30:14 +02:00
|
|
|
{{> dropdown_list_widget
|
2020-05-18 23:08:30 +02:00
|
|
|
widget_name="realm_default_code_block_language"
|
2020-04-10 06:30:14 +02:00
|
|
|
list_placeholder=(t 'Filter languages')
|
|
|
|
reset_button_text=(t '[Unset]')
|
|
|
|
label=admin_settings_label.realm_default_code_block_language }}
|
2020-03-31 15:21:27 +02:00
|
|
|
|
2019-07-11 04:05:28 +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-02-07 23:12:15 +01: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
|
|
|
|
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>
|