Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Move Information density setting to the General section.

Shubham Padia554e9f7e291b
diff --git a/web/templates/settings/display_settings.hbs b/web/templates/settings/display_settings.hbs
index c4ad8882723..37fbc70b0e1 100644
--- a/web/templates/settings/display_settings.hbs
+++ b/web/templates/settings/display_settings.hbs
@@ -35,6 +35,20 @@
label=settings_label.dense_mode
render_only=settings_render_only.dense_mode
prefix=prefix}}
+
+ {{#if information_density_settings.render_group}}
+ <div class="information-density-settings">
+ <div class="title">{{t "Information density settings"}}</div>
+ {{#each information_density_settings.settings.user_display_settings}}
+ {{> settings_numeric_input
+ setting_name=this
+ setting_value=(lookup ../settings_object this)
+ label=(lookup ../settings_label this)
+ render_only=(lookup ../settings_render_only.render_only this)
+ prefix=../prefix}}
+ {{/each}}
+ </div>
+ {{/if}}
</div>
<div class="emoji-preferences {{#if for_realm_settings}}settings-subsection-parent{{else}}subsection-parent{{/if}}">
@@ -175,20 +189,6 @@
</select>
</div>
- {{#if information_density_settings.render_group}}
- <div class="information-density-settings">
- <div class="title">{{t "Information density settings"}}</div>
- {{#each information_density_settings.settings.user_display_settings}}
- {{> settings_numeric_input
- setting_name=this
- setting_value=(lookup ../settings_object this)
- label=(lookup ../settings_label this)
- render_only=(lookup ../settings_render_only.render_only this)
- prefix=../prefix}}
- {{/each}}
- </div>
- {{/if}}
-
{{#each display_settings.settings.user_display_settings}}
{{> settings_checkbox
setting_name=this