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-06-10 07:03:53 +02:00
|
|
|
<div class="alert" id="admin-realm-notifications-stream-status"></div>
|
2017-10-20 16:55:04 +02:00
|
|
|
<div class="alert" id="admin-realm-signup-notifications-stream-status"></div>
|
2017-08-18 01:23:55 +02:00
|
|
|
|
2018-03-14 18:50:55 +01:00
|
|
|
<div id="org-msg-editing" class="org-subsection-parent">
|
|
|
|
<div class="subsection-header">
|
|
|
|
<h3>{{t "Message editing" }}</h3>
|
2018-03-23 16:21:40 +01:00
|
|
|
{{ partial "settings-save-discard-widget" "section_name" "msg-editing" }}
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
2018-03-14 18:50:55 +01:00
|
|
|
<div class="inline-block organization-settings-parent">
|
2018-04-02 11:18:40 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="realm_msg_edit_limit_setting" class="dropdown-title">{{t "Allow message editing" }}</label>
|
2019-04-04 16:36:12 +02:00
|
|
|
<select name="realm_msg_edit_limit_setting" id="id_realm_msg_edit_limit_setting" class="prop-element">
|
2018-04-02 11:18:40 +02:00
|
|
|
{{#each msg_edit_limit_dropdown_values}}
|
|
|
|
<option value="{{@key}}">{{this.text}}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
2018-05-02 19:02:51 +02:00
|
|
|
<div class="dependent-inline-block">
|
|
|
|
<label for="id_realm_message_content_edit_limit_minutes" class="inline-block realm-time-limit-label">
|
|
|
|
{{t 'N' }}:
|
|
|
|
</label>
|
|
|
|
<input type="text" id="id_realm_message_content_edit_limit_minutes"
|
|
|
|
name="realm_message_content_edit_limit_minutes"
|
2019-04-04 16:36:12 +02:00
|
|
|
class="admin-realm-time-limit-input prop-element"
|
2019-03-01 00:15:21 +01:00
|
|
|
autocomplete="off"
|
2018-05-02 19:02:51 +02:00
|
|
|
value="{{ realm_message_content_edit_limit_minutes }}"/>
|
|
|
|
</div>
|
2018-03-14 18:50:55 +01:00
|
|
|
</div>
|
2017-05-17 19:07:00 +02:00
|
|
|
|
2018-04-21 19:30:32 +02:00
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "realm_allow_community_topic_editing"
|
|
|
|
"prefix" "id_"
|
|
|
|
"is_checked" realm_allow_community_topic_editing
|
|
|
|
"label" admin_settings_label.realm_allow_community_topic_editing}}
|
|
|
|
|
2019-02-07 18:55:35 +01:00
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "realm_allow_edit_history"
|
|
|
|
"prefix" "id_"
|
|
|
|
"is_checked" realm_allow_edit_history
|
|
|
|
"label" admin_settings_label.realm_allow_edit_history}}
|
|
|
|
|
2018-03-14 18:50:55 +01:00
|
|
|
<div class="input-group">
|
2018-05-02 19:02:51 +02:00
|
|
|
<label for="realm_msg_delete_limit_setting" class="dropdown-title">
|
|
|
|
{{t "Allow message deleting" }}
|
2018-07-04 01:20:01 +02:00
|
|
|
<i class="fa fa-info-circle settings-info-icon realm_allow_message_deleting_tooltip" data-toggle="tooltip"
|
|
|
|
aria-hidden="true" title="{{t 'Administrators can always delete any message.' }}"/>
|
2018-05-02 19:02:51 +02:00
|
|
|
</label>
|
2019-04-04 16:36:12 +02:00
|
|
|
<select name="realm_msg_delete_limit_setting" id="id_realm_msg_delete_limit_setting" class="prop-element">
|
2017-11-26 09:12:10 +01:00
|
|
|
{{#each msg_delete_limit_dropdown_values}}
|
|
|
|
<option value="{{@key}}">{{this.text}}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
2018-05-02 19:02:51 +02:00
|
|
|
<div class="dependent-inline-block">
|
|
|
|
<label for="id_realm_message_content_delete_limit_minutes" class="inline-block realm-time-limit-label">
|
|
|
|
{{t 'N' }}:
|
|
|
|
</label>
|
|
|
|
<input type="text" id="id_realm_message_content_delete_limit_minutes"
|
|
|
|
name="realm_message_content_delete_limit_minutes"
|
2019-04-04 16:36:12 +02:00
|
|
|
class="admin-realm-time-limit-input prop-element"
|
2019-03-01 00:15:21 +01:00
|
|
|
autocomplete="off"
|
2018-05-02 19:02:51 +02:00
|
|
|
value="{{ realm_message_content_delete_limit_minutes }}"/>
|
|
|
|
</div>
|
2018-03-14 18:50:55 +01:00
|
|
|
</div>
|
2017-05-12 17:16:22 +02:00
|
|
|
</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
|
|
|
|
2019-02-07 22:40:51 +01:00
|
|
|
<div id="org-notifications" class="org-subsection-parent">
|
|
|
|
<div class="subsection-header">
|
|
|
|
<h3>{{t "Notifications" }}</h3>
|
|
|
|
{{ partial "settings-save-discard-widget" "section_name" "notifications" }}
|
|
|
|
</div>
|
|
|
|
<div class="inline-block organization-settings-parent">
|
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "realm_send_welcome_emails"
|
|
|
|
"prefix" "id_"
|
|
|
|
"is_checked" realm_send_welcome_emails
|
|
|
|
"label" admin_settings_label.realm_send_welcome_emails}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="input-group">
|
2019-02-07 23:01:17 +01:00
|
|
|
<label for="realm_notifications_stream" id="realm_notifications_stream_label" class="inline-block">
|
2019-02-07 22:40:51 +01:00
|
|
|
{{t "New stream notifications:" }}
|
|
|
|
<span class="dropup actual-dropdown-menu" id="id_realm_notifications_stream"
|
|
|
|
name="realm_notifications_stream" aria-labelledby="realm_notifications_stream_label">
|
|
|
|
<button class="button small rounded dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<span id="realm_notifications_stream_name"></span>
|
|
|
|
<i class="fa fa-pencil"></i>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu modal-bg" role="menu">
|
|
|
|
<li class="dropdown-search" role="presentation">
|
|
|
|
<input type="text" role="menuitem" placeholder="{{t 'Filter streams' }}" autofocus/>
|
|
|
|
</li>
|
|
|
|
<span class="dropdown-list-body"></span>
|
|
|
|
</ul>
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
{{#if is_admin }}
|
|
|
|
<a class="notifications-stream-disable notification-disable">{{t "[Disable]" }}</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="input-group">
|
2019-02-07 23:01:17 +01:00
|
|
|
<label for="realm_signup_notifications_stream" id="realm_signup_notifications_stream_label" class="inline-block">
|
2019-02-07 22:40:51 +01:00
|
|
|
{{t "New user notifications:" }}
|
|
|
|
<span class="dropup actual-dropdown-menu" id="id_realm_signup_notifications_stream"
|
|
|
|
name="realm_signup_notifications_stream" aria-labelledby="realm_signup_notifications_stream_label">
|
|
|
|
<button class="button small rounded dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<span id="realm_signup_notifications_stream_name"></span>
|
|
|
|
<i class="fa fa-pencil"></i>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu modal-bg" role="menu">
|
|
|
|
<li class="dropdown-search" role="presentation">
|
|
|
|
<input type="text" role="menuitem" placeholder="{{t 'Filter streams' }}" autofocus/>
|
|
|
|
</li>
|
|
|
|
<span class="dropdown-list-body"></span>
|
|
|
|
</ul>
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
{{#if is_admin }}
|
|
|
|
<a class="signup-notifications-stream-disable notification-disable">{{t "[Disable]" }}</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="org-user-defaults" class="org-subsection-parent">
|
|
|
|
<div class="subsection-header">
|
|
|
|
<h3>{{t "Default user settings" }}</h3>
|
|
|
|
{{ partial "settings-save-discard-widget" "section_name" "user-defaults" }}
|
|
|
|
</div>
|
|
|
|
<p>{{t "Default settings for new users joining this organization." }}</p>
|
|
|
|
<div class="inline-block organization-settings-parent">
|
|
|
|
<div class="input-group">
|
|
|
|
<label for="realm_default_language" class="dropdown-title">{{t "Default language" }}:</label>
|
2019-04-04 16:36:12 +02:00
|
|
|
<select name="realm_default_language" class ="setting-widget prop-element" id="id_realm_default_language" data-setting-widget-type="text">
|
2019-02-07 22:40:51 +01:00
|
|
|
{{#each language_list}}
|
|
|
|
<option value='{{this.code}}'>{{this.name}}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "realm_default_twenty_four_hour_time"
|
|
|
|
"prefix" "id_"
|
|
|
|
"is_checked" realm_default_twenty_four_hour_time
|
|
|
|
"label" admin_settings_label.realm_default_twenty_four_hour_time}}
|
|
|
|
</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-02-28 01:17:23 +01:00
|
|
|
{{ partial "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">
|
|
|
|
{{t 'Video chat provider' }}
|
|
|
|
</label>
|
2019-04-04 16:36:12 +02:00
|
|
|
<select name="realm_video_chat_provider" class ="setting-widget prop-element" id="id_realm_video_chat_provider" data-setting-widget-type="text">
|
2019-02-07 22:57:52 +01:00
|
|
|
{{#each realm_available_video_chat_providers}}
|
|
|
|
<option value='{{this}}'>{{this}}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
<div id="google_hangouts_domain">
|
|
|
|
<label>{{t 'Domain for your <a href="https://gsuite.google.com" target="_blank">G Suite team</a> (required)' }}:</label>
|
|
|
|
<input type="text" id="id_realm_google_hangouts_domain"
|
|
|
|
name="realm_google_hangouts_domain"
|
2019-03-01 00:15:21 +01:00
|
|
|
autocomplete="off"
|
2019-04-04 16:36:12 +02:00
|
|
|
class="admin-realm-google-hangouts-domain setting-widget prop-element"
|
2019-03-06 17:24:14 +01:00
|
|
|
data-setting-widget-type="text"/>
|
2019-02-07 22:57:52 +01:00
|
|
|
</div>
|
2019-02-28 00:13:57 +01:00
|
|
|
<div id="zoom_help_text" class="zoom_credentials">
|
|
|
|
<p>
|
|
|
|
Note: Zoom support is experimental. In particular, Zulip currently supports having
|
|
|
|
only one active Zoom meeting at a time.
|
|
|
|
</p>
|
|
|
|
</div>
|
2019-02-07 22:57:52 +01:00
|
|
|
<div id="zoom_user_id" class="zoom_credentials">
|
2019-02-28 00:13:57 +01:00
|
|
|
<label>{{t 'Zoom user ID or email address (required)' }}:</label>
|
2019-02-07 22:57:52 +01:00
|
|
|
<input type="text" id="id_realm_zoom_user_id"
|
|
|
|
name="realm_zoom_user_id"
|
2019-03-01 00:15:21 +01:00
|
|
|
autocomplete="off"
|
2019-04-04 16:36:12 +02:00
|
|
|
class="admin-realm-zoom-field setting-widget prop-element"
|
2019-03-06 17:24:14 +01:00
|
|
|
data-setting-widget-type="text"/>
|
2019-02-07 22:57:52 +01:00
|
|
|
</div>
|
|
|
|
<div id="zoom_api_key" class="zoom_credentials">
|
|
|
|
<label>{{t 'Zoom API key (required)' }}:</label>
|
|
|
|
<input type="text" id="id_realm_zoom_api_key"
|
|
|
|
name="realm_zoom_api_key"
|
2019-03-01 00:15:21 +01:00
|
|
|
autocomplete="off"
|
2019-04-04 16:36:12 +02:00
|
|
|
class="admin-realm-zoom-field setting-widget prop-element"
|
2019-03-06 17:24:14 +01:00
|
|
|
data-setting-widget-type="text"/>
|
2019-02-07 22:57:52 +01:00
|
|
|
</div>
|
|
|
|
<div id="zoom_api_secret" class="zoom_credentials">
|
2019-03-01 00:12:40 +01:00
|
|
|
<label>{{t 'Zoom API secret (required if changed)' }}:</label>
|
2019-02-07 22:57:52 +01:00
|
|
|
<input type="text" id="id_realm_zoom_api_secret"
|
|
|
|
name="realm_zoom_api_secret"
|
2019-03-01 00:15:21 +01:00
|
|
|
autocomplete="off"
|
2019-04-04 16:36:12 +02:00
|
|
|
class="admin-realm-zoom-field setting-widget prop-element"
|
2019-03-06 17:24:14 +01:00
|
|
|
data-setting-widget-type="text"/>
|
2019-02-07 22:57:52 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-02-07 23:12:15 +01:00
|
|
|
{{partial "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}}
|
|
|
|
|
2018-03-14 18:50:55 +01:00
|
|
|
{{#if false}}
|
|
|
|
<div class="input-group">
|
|
|
|
<label for="realm_message_retention_days"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="id_realm_message_retention_days_label">
|
2018-03-14 18:50:55 +01:00
|
|
|
{{t 'Messages retention period in days (blank means messages are retained forever)' }}
|
|
|
|
</label>
|
|
|
|
<input type="text" id="id_realm_message_retention_days"
|
2018-04-03 10:07:23 +02:00
|
|
|
name="realm_message_retention_days"
|
2019-04-04 16:36:12 +02:00
|
|
|
class="admin-realm-message-retention-days prop-element"
|
2018-04-03 10:07:23 +02:00
|
|
|
value="{{ realm_message_retention_days }}"/>
|
2018-03-14 18:50:55 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2018-04-01 11:32:13 +02:00
|
|
|
{{partial "settings_checkbox"
|
2018-04-03 10:09:00 +02:00
|
|
|
"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}}
|
2018-04-01 11:32:13 +02:00
|
|
|
{{partial "settings_checkbox"
|
2018-04-03 10:09:00 +02:00
|
|
|
"setting_name" "realm_inline_image_preview"
|
|
|
|
"prefix" "id_"
|
|
|
|
"is_checked" realm_inline_image_preview
|
|
|
|
"label" admin_settings_label.realm_inline_image_preview}}
|
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}}
|
2018-04-01 11:32:13 +02:00
|
|
|
{{partial "settings_checkbox"
|
2018-04-03 10:09:00 +02:00
|
|
|
"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}}
|
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>
|