2016-12-02 21:29:16 +01:00
|
|
|
<div id="display-settings" class="settings-section" data-name="display-settings">
|
2017-04-26 04:45:03 +02:00
|
|
|
<form class="display-settings-form">
|
2018-04-17 21:37:33 +02:00
|
|
|
<div id="user-lang-settings">
|
|
|
|
<!-- this is inline block so that the alert notification can sit beside
|
|
|
|
it. If there's not an alert, don't make it inline-block. -->
|
|
|
|
<h3 class="inline-block">{{t "Language settings" }}</h3>
|
|
|
|
<div class="alert-notification" id="language-settings-status"></div>
|
2016-12-02 21:29:36 +01:00
|
|
|
|
2018-04-17 21:37:33 +02:00
|
|
|
<div class="input-group user-name-section">
|
|
|
|
<label class="inline-block title">{{t "Default language" }}</label>
|
2019-06-10 07:38:49 +02:00
|
|
|
<button id="default_language" type="button" class="button btn-link rounded small inline-block">
|
|
|
|
<span id="default_language_name">{{page_params.default_language_name}}</span>
|
|
|
|
<i class="fa fa-pencil"></i>
|
|
|
|
</button>
|
2018-04-17 21:37:33 +02:00
|
|
|
</div>
|
2017-07-18 03:04:40 +02:00
|
|
|
|
2021-03-15 05:46:53 +01:00
|
|
|
{{> ../default_language_modal guidelines_link="https://zulip.readthedocs.io/en/latest/translating/translating.html"}}
|
2018-04-17 21:37:33 +02:00
|
|
|
</div>
|
2017-04-26 04:45:03 +02:00
|
|
|
|
2018-04-17 21:37:33 +02:00
|
|
|
<div id="user-display-settings">
|
|
|
|
<h3 class="inline-block">{{t "Display settings" }}</h3>
|
|
|
|
<div class="alert-notification" id="display-settings-status"></div>
|
2017-07-18 03:04:40 +02:00
|
|
|
|
2021-03-10 13:56:10 +01:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="default_view" class="dropdown-title">{{t "Default view" }}
|
|
|
|
{{> ../help_link_widget link="/help/change-default-view" }}
|
|
|
|
</label>
|
|
|
|
<select name="default_view" id="default_view">
|
|
|
|
{{> dropdown_options_widget option_values=default_view_values}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2020-05-16 13:13:59 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="color_scheme" class="dropdown-title">{{t "Color scheme" }}
|
|
|
|
</label>
|
|
|
|
<select name="color_scheme" id="color_scheme">
|
|
|
|
{{> dropdown_options_widget option_values=color_scheme_values}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2019-06-13 13:55:53 +02:00
|
|
|
{{#each display_settings.settings.user_display_settings}}
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_checkbox
|
|
|
|
setting_name=this
|
|
|
|
is_checked=(lookup ../page_params this)
|
|
|
|
label=(lookup ../settings_label this)
|
|
|
|
render_only=(lookup ../display_settings.render_only this)}}
|
2019-06-13 13:55:53 +02:00
|
|
|
{{/each}}
|
2019-03-17 14:48:51 +01:00
|
|
|
|
|
|
|
<div class="input-group">
|
2019-06-07 05:59:28 +02:00
|
|
|
<label for="demote_inactive_streams" class="dropdown-title">{{t "Demote inactive streams" }}
|
2020-05-15 20:43:31 +02:00
|
|
|
{{> ../help_link_widget link="/help/manage-inactive-streams" }}
|
2019-06-07 05:59:28 +02:00
|
|
|
</label>
|
2019-03-17 14:48:51 +01:00
|
|
|
<select name="demote_inactive_streams" id="demote_inactive_streams">
|
2020-01-22 19:01:51 +01:00
|
|
|
{{> dropdown_options_widget option_values=demote_inactive_streams_values}}
|
2019-03-17 14:48:51 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
2017-04-26 04:45:03 +02:00
|
|
|
</div>
|
2017-04-02 20:59:22 +02:00
|
|
|
|
2018-04-17 21:37:33 +02:00
|
|
|
<div id="user-time-settings">
|
|
|
|
<h3 class="inline-block">{{t "Time settings" }}</h3>
|
|
|
|
<div class="alert-notification" id="time-settings-status"></div>
|
2017-04-02 20:59:22 +02:00
|
|
|
|
2019-07-28 11:47:45 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="twenty_four_hour_time" class="dropdown-title">{{ settings_label.twenty_four_hour_time }}</label>
|
|
|
|
<select name="twenty_four_hour_time" id="twenty_four_hour_time">
|
|
|
|
{{#each twenty_four_hour_time_values}}
|
|
|
|
<option value='{{ this.value }}'>{{ this.description }}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2017-07-05 21:52:32 +02:00
|
|
|
|
2018-04-17 21:37:33 +02:00
|
|
|
<div class="input-group">
|
2019-06-07 06:01:20 +02:00
|
|
|
<label for="timezone" class="dropdown-title">{{t "Time zone" }}</label>
|
2018-04-17 21:37:33 +02:00
|
|
|
<select name="timezone" id="user_timezone">
|
|
|
|
{{#unless page_params.timezone}}
|
|
|
|
<option></option>
|
|
|
|
{{/unless}}
|
2017-07-05 21:52:32 +02:00
|
|
|
|
2018-04-17 21:37:33 +02:00
|
|
|
{{#each timezones}}
|
|
|
|
<option value="{{ this }}">{{ this }}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2017-04-26 04:45:03 +02:00
|
|
|
</div>
|
2017-04-02 20:59:22 +02:00
|
|
|
|
2018-04-17 21:37:33 +02:00
|
|
|
<div id="user-emoji-settings">
|
2020-05-26 03:23:33 +02:00
|
|
|
<h3 class="inline-block light">{{t "Emoji settings" }}</h3>
|
2018-04-17 21:37:33 +02:00
|
|
|
<div class="alert-notification" id="emoji-settings-status"></div>
|
2018-01-15 19:36:32 +01:00
|
|
|
|
2018-04-25 20:43:49 +02:00
|
|
|
<div class="input-group">
|
2018-04-17 21:37:33 +02:00
|
|
|
<div class="emojiset_choices grey-box">
|
2019-09-28 01:06:46 +02:00
|
|
|
{{#each page_params.emojiset_choices}}
|
2018-04-17 21:37:33 +02:00
|
|
|
<label>
|
2019-09-28 01:06:46 +02:00
|
|
|
<input type="radio" class="emojiset_choice" name="emojiset_group" value="{{this.key}}" />
|
|
|
|
<span>{{this.text}}</span>
|
2018-04-17 21:37:33 +02:00
|
|
|
<span class="right">
|
2019-09-28 01:06:46 +02:00
|
|
|
{{#if (eq this.key "text") }}
|
2018-04-17 21:37:33 +02:00
|
|
|
<div class="emoji_alt_code"> :relaxed:</div>
|
|
|
|
{{else}}
|
2019-09-28 01:06:46 +02:00
|
|
|
<img class="emoji" src="/static/generated/emoji/images-{{this.key}}-64/1f642.png" />
|
|
|
|
<img class="emoji" src="/static/generated/emoji/images-{{this.key}}-64/1f44d.png" />
|
|
|
|
<img class="emoji" src="/static/generated/emoji/images-{{this.key}}-64/1f680.png" />
|
|
|
|
<img class="emoji" src="/static/generated/emoji/images-{{this.key}}-64/1f389.png" />
|
2018-04-17 21:37:33 +02:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2017-11-02 21:25:36 +01:00
|
|
|
</div>
|
2018-03-23 22:38:00 +01:00
|
|
|
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_checkbox
|
|
|
|
setting_name="translate_emoticons"
|
|
|
|
is_checked=page_params.translate_emoticons
|
|
|
|
label=settings_label.translate_emoticons}}
|
2018-03-23 22:38:00 +01:00
|
|
|
</div>
|
2017-04-26 04:45:03 +02:00
|
|
|
</form>
|
2016-10-05 02:03:00 +02:00
|
|
|
</div>
|