mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
settings: Add checkbox for enable_read_receipts setting.
This commit is contained in:
@@ -182,6 +182,7 @@ export function build_page() {
|
||||
!page_params.realm_push_notifications_enabled,
|
||||
is_business_type_org:
|
||||
page_params.realm_org_type === settings_config.all_org_type_values.business.code,
|
||||
realm_enable_read_receipts: page_params.realm_enable_read_receipts,
|
||||
};
|
||||
|
||||
if (options.realm_logo_source !== "D" && options.realm_night_logo_source === "D") {
|
||||
|
||||
@@ -142,6 +142,18 @@
|
||||
is_checked=realm_mandatory_topics
|
||||
label=admin_settings_label.realm_mandatory_topics}}
|
||||
|
||||
<div class="input-group">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" class="realm_enable_read_receipts inline-block setting-widget prop-element" name="realm_enable_read_receipts" data-setting-widget-type="boolean" id="id_realm_enable_read_receipts" {{#if realm_enable_read_receipts}}checked="checked"{{/if}}/>
|
||||
<span></span>
|
||||
</label>
|
||||
<label for="id_realm_enable_read_receipts" class="inline realm_enable_read_receipts_label" id="id_realm_enable_read_receipts_label">
|
||||
{{#tr}}
|
||||
Enable read receipts (<i>Users can always disable their personal read receipts.</i>)
|
||||
{{/tr}}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{{#if server_inline_image_preview}}
|
||||
{{> settings_checkbox
|
||||
setting_name="realm_inline_image_preview"
|
||||
|
||||
Reference in New Issue
Block a user