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: Avoid dropdown_list_widget on same line as labels.

Tim Abbotta4d42392a682
diff --git a/static/js/admin.js b/static/js/admin.js
index a507a65e326..97f49de4237 100644
--- a/static/js/admin.js
+++ b/static/js/admin.js
@@ -20,8 +20,8 @@ const admin_settings_label = {
// Organization settings
realm_allow_edit_history: $t({defaultMessage: "Enable message edit history"}),
realm_mandatory_topics: $t({defaultMessage: "Require topics in stream messages"}),
- realm_notifications_stream: $t({defaultMessage: "New stream notifications:"}),
- realm_signup_notifications_stream: $t({defaultMessage: "New user notifications:"}),
+ realm_notifications_stream: $t({defaultMessage: "New stream notifications"}),
+ realm_signup_notifications_stream: $t({defaultMessage: "New user notifications"}),
realm_inline_image_preview: $t({defaultMessage: "Show previews of uploaded and linked images"}),
realm_inline_url_embed_preview: $t({defaultMessage: "Show previews of linked websites"}),
realm_send_welcome_emails: $t({defaultMessage: "Send emails introducing Zulip to new users"}),
@@ -34,7 +34,7 @@ const admin_settings_label = {
realm_digest_emails_enabled: $t({
defaultMessage: "Send weekly digest emails to inactive users",
}),
- realm_default_code_block_language: $t({defaultMessage: "Default language for code blocks:"}),
+ realm_default_code_block_language: $t({defaultMessage: "Default language for code blocks"}),
// Organization permissions
realm_name_changes_disabled: $t({defaultMessage: "Prevent users from changing their name"}),
diff --git a/static/templates/settings/dropdown_list_widget.hbs b/static/templates/settings/dropdown_list_widget.hbs
index 57d659cf528..8ee319332c0 100644
--- a/static/templates/settings/dropdown_list_widget.hbs
+++ b/static/templates/settings/dropdown_list_widget.hbs
@@ -1,7 +1,7 @@
<div class="input-group dropdown-list-widget" id="{{widget_name}}_widget">
<span class="{{widget_name}}_setting dropup actual-dropdown-menu prop-element" id="id_{{widget_name}}" aria-labelledby="{{widget_name}}_label">
{{#if label}}
- <label id="{{widget_name}}_label" class="inline-block">
+ <label id="{{widget_name}}_label" class="dropdown-title">
{{ label }}
</label>
{{/if}}