{{#if for_realm_settings}}

{{t "Time" }}

{{else}}

{{t "Language and time" }}

{{/if}} {{> settings_save_discard_widget section_name="lang-time-settings" show_only_indicator=(not for_realm_settings) }}
{{#unless for_realm_settings}} {{> language_selection_widget section_name="default_language_name" setting_value=default_language_name section_title=settings_label.default_language_settings_label }} {{/unless}}

{{t "Theme" }}

{{> settings_save_discard_widget section_name="theme-settings" show_only_indicator=(not for_realm_settings) }}
{{#each settings_object.emojiset_choices}} {{/each}}
{{> settings_checkbox setting_name="translate_emoticons" is_checked=settings_object.translate_emoticons label=settings_label.translate_emoticons prefix=prefix}} {{#if page_params.development_environment }} {{> settings_checkbox setting_name="display_emoji_reaction_users" is_checked=settings_object.display_emoji_reaction_users label=settings_label.display_emoji_reaction_users prefix=prefix}} {{/if}}

{{t "Advanced" }}

{{> settings_save_discard_widget section_name="advanced-settings" show_only_indicator=(not for_realm_settings) }}
{{> settings_checkbox setting_name="escape_navigates_to_default_view" is_checked=settings_object.escape_navigates_to_default_view label=settings_label.escape_navigates_to_default_view prefix=prefix}}
{{#each display_settings.settings.user_display_settings}} {{> settings_checkbox setting_name=this is_checked=(lookup ../settings_object this) label=(lookup ../settings_label this) render_only=(lookup ../display_settings.render_only this) prefix=../prefix}} {{/each}}