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>
|
|
|
|
<a id="default_language" href="#default_language">
|
|
|
|
<button type="button" class="button rounded small inline-block">
|
|
|
|
<span id="default_language_name">{{page_params.default_language_name}}</span>
|
|
|
|
<i class="fa fa-pencil"></i>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
2017-07-18 03:04:40 +02:00
|
|
|
|
2018-04-17 21:37:33 +02:00
|
|
|
{{ partial "default_language_modal"}}
|
|
|
|
</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
|
|
|
|
2018-05-24 20:53:26 +02:00
|
|
|
{{#if page_params.development_environment}}
|
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "dense_mode"
|
|
|
|
"is_checked" page_params.dense_mode
|
|
|
|
"label" settings_label.dense_mode}}
|
|
|
|
{{/if}}
|
|
|
|
|
2018-04-17 21:52:25 +02:00
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "night_mode"
|
|
|
|
"is_checked" page_params.night_mode
|
|
|
|
"label" settings_label.night_mode}}
|
2016-10-05 02:03:00 +02:00
|
|
|
|
2018-06-05 18:55:05 +02:00
|
|
|
{{#if page_params.development_environment}}
|
2018-04-17 21:52:25 +02:00
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "high_contrast_mode"
|
|
|
|
"is_checked" page_params.high_contrast_mode
|
|
|
|
"label" settings_label.high_contrast_mode}}
|
2018-06-05 18:55:05 +02:00
|
|
|
{{/if}}
|
2017-11-14 20:42:31 +01:00
|
|
|
|
2018-04-17 21:52:25 +02:00
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "left_side_userlist"
|
|
|
|
"is_checked" page_params.left_side_userlist
|
|
|
|
"label" settings_label.left_side_userlist}}
|
2018-08-17 08:48:12 +02:00
|
|
|
|
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "starred_message_counts"
|
|
|
|
"is_checked" page_params.starred_message_counts
|
|
|
|
"label" settings_label.starred_message_counts}}
|
2019-04-16 18:46:17 +02:00
|
|
|
|
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "fluid_layout_width"
|
|
|
|
"is_checked" page_params.fluid_layout_width
|
|
|
|
"label" settings_label.fluid_layout_width}}
|
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
|
|
|
|
2018-04-17 21:52:25 +02:00
|
|
|
{{partial "settings_checkbox"
|
|
|
|
"setting_name" "twenty_four_hour_time"
|
|
|
|
"is_checked" page_params.twenty_four_hour_time
|
|
|
|
"label" settings_label.twenty_four_hour_time}}
|
2017-07-05 21:52:32 +02:00
|
|
|
|
2018-04-17 21:37:33 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="timezone" class="dropdown-title">{{t "Time zone" }}:</label>
|
|
|
|
<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">
|
2018-07-20 09:28:32 +02:00
|
|
|
<h3 class="inline-block light">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">
|
|
|
|
{{#each page_params.emojiset_choices }}
|
|
|
|
<label>
|
|
|
|
<input type="radio" class="emojiset_choice" name="emojiset_group" value="{{@key}}" />
|
|
|
|
<span>{{t this }}</span>
|
|
|
|
<span class="right">
|
|
|
|
{{#if @last}}
|
|
|
|
<div class="emoji_alt_code"> :relaxed:</div>
|
|
|
|
{{else}}
|
|
|
|
<img class="emoji" src="/static/generated/emoji/images-{{@key}}-64/1f642.png" />
|
|
|
|
<img class="emoji" src="/static/generated/emoji/images-{{@key}}-64/1f44d.png" />
|
|
|
|
<img class="emoji" src="/static/generated/emoji/images-{{@key}}-64/1f680.png" />
|
|
|
|
<img class="emoji" src="/static/generated/emoji/images-{{@key}}-64/1f389.png" />
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2017-11-02 21:25:36 +01:00
|
|
|
</div>
|
2018-03-23 22:38:00 +01:00
|
|
|
|
2018-04-17 21:52:25 +02:00
|
|
|
{{partial "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>
|