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: Add description below name field.

Sahil Batra12e298dd4c23
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 80c6118a96b..3018f27f9c3 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1465,10 +1465,6 @@ $option_title_width: 180px;
.custom_user_field {
padding-bottom: 20px;
- .field_hint {
- color: hsl(0deg 0% 67%);
- }
-
& textarea {
height: 80px;
}
@@ -1505,6 +1501,13 @@ $option_title_width: 180px;
padding-left: 2px;
vertical-align: middle;
}
+
+ .custom_user_field,
+ .user-name-section {
+ .field_hint {
+ color: hsl(0deg 0% 67%);
+ }
+ }
}
#edit-user-form {
diff --git a/web/templates/settings/profile_settings.hbs b/web/templates/settings/profile_settings.hbs
index d04e8a7c5a9..109f88913d3 100644
--- a/web/templates/settings/profile_settings.hbs
+++ b/web/templates/settings/profile_settings.hbs
@@ -8,6 +8,7 @@
<div class="user-name-section inline-block">
<label for="full_name" class="title inline-block">{{t "Name" }}</label>
<div class="alert-notification full-name-status"></div>
+ <div class="field_hint">{{t "How your account is displayed in Zulip." }}</div>
<div id="full_name_input_container" {{#unless user_can_change_name}}class="disabled_setting_tooltip"{{/unless}}>
<input id="full_name" name="full_name" class="settings_text_input" type="text" value="{{ current_user.full_name }}" {{#unless user_can_change_name}}disabled="disabled"{{/unless}} maxlength="60" />
</div>