Files
upstream-zulip/web/templates/settings/preferences_information.hbs
upstream-mirror 64898b2c79
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
2026-09-15 15:05:30 +05:00

110 lines
5.5 KiB
Handlebars

<div class="information-settings {{#if for_realm_settings}}settings-subsection-parent{{else}}subsection-parent{{/if}}">
<div class="subsection-header">
<h3 class="settings-subsection-title">{{t "Information" }}</h3>
{{> settings_save_discard_widget section_name="information-settings" show_save_discard_buttons=for_realm_settings }}
</div>
<div class="input-group">
<label class="settings-field-label">
{{t "User list style" }}
{{#if for_realm_settings}}
{{> ../components/icon_button icon="reset" intent="neutral" custom_classes="reset-user-setting-to-default" data-tippy-content=(t "Reset users to default") aria-label=(t "Reset users to default") }}
{{/if}}
</label>
<div class="user_list_style_values settings-highlight-box prop-element" id="{{prefix}}user_list_style" data-setting-widget-type="radio-group" data-setting-choice-type="number">
{{#each (object_values user_list_style_values)}}
<label class="preferences-radio-choice-label">
<span class="radio-choice-controls">
<input type="radio" class="setting_user_list_style_choice" name="user_list_style" value="{{this.code}}"/>
<span class="preferences-radio-choice-text">{{this.description}}</span>
</span>
<span class="right preview">
{{#if (eq this.code 1)}}
<span class="user-name-and-status-emoji">
<span class="user-name">{{../full_name}}</span>
{{> ../status_emoji emoji_name="house" emoji_code="1f3e0"}}
</span>
{{/if}}
{{#if (eq this.code 2)}}
<span class="user-name-and-status-text">
<span class="user-name-and-status-emoji">
<span class="user-name">{{../full_name}}</span>
{{> ../status_emoji emoji_name="house" emoji_code="1f3e0"}}
</span>
<span class="status-text">{{t "Working remotely" }}</span>
</span>
{{/if}}
{{#if (eq this.code 3)}}
<span class="profile-with-avatar">
<span class="user-profile-picture">
<img src="{{../profile_picture}}"/>
</span>
<span class="user-name-and-status-wrapper">
<span class="user-name-and-status-emoji">
<span class="user-name">{{../full_name}}</span>
{{> ../status_emoji emoji_name="house" emoji_code="1f3e0"}}
</span>
<span class="status-text">{{t "Working remotely" }}</span>
</span>
</span>
{{/if}}
</span>
</label>
{{/each}}
</div>
</div>
<div class="input-group">
<label for="{{prefix}}web_animate_image_previews" class="settings-field-label">
{{t "Play animated images" }}
{{#if for_realm_settings}}
{{> ../components/icon_button icon="reset" intent="neutral" custom_classes="reset-user-setting-to-default" data-tippy-content=(t "Reset users to default") aria-label=(t "Reset users to default") }}
{{/if}}
</label>
<select name="web_animate_image_previews" class="setting_web_animate_image_previews prop-element settings_select bootstrap-focus-style" id="{{prefix}}web_animate_image_previews" data-setting-widget-type="string">
{{> dropdown_options_widget option_values=(object_values web_animate_image_previews_values)}}
</select>
</div>
{{> settings_checkbox
setting_name="receives_typing_notifications"
is_checked=settings_object.receives_typing_notifications
label=settings_label.receives_typing_notifications
render_only=settings_render_only.receives_typing_notifications
prefix=prefix
show_reset_button=for_realm_settings}}
{{> settings_checkbox
setting_name="web_inbox_show_channel_folders"
is_checked=settings_object.web_inbox_show_channel_folders
label=settings_label.web_inbox_show_channel_folders
render_only=settings_render_only.web_inbox_show_channel_folders
help_link="/help/channel-folders"
prefix=prefix
show_reset_button=for_realm_settings}}
{{> settings_checkbox
setting_name="hide_ai_features"
is_checked=settings_object.hide_ai_features
label=settings_label.hide_ai_features
render_only=settings_render_only.hide_ai_features
prefix=prefix
show_reset_button=for_realm_settings}}
{{> settings_checkbox
setting_name="fluid_layout_width"
is_checked=settings_object.fluid_layout_width
label=settings_label.fluid_layout_width
render_only=settings_render_only.fluid_layout_width
prefix=prefix
show_reset_button=for_realm_settings}}
{{> settings_checkbox
setting_name="high_contrast_mode"
is_checked=settings_object.high_contrast_mode
label=settings_label.high_contrast_mode
render_only=settings_render_only.high_contrast_mode
prefix=prefix
show_reset_button=for_realm_settings}}
</div>