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.

account_settings: Change the position of the custom-profile-fields-form.

Nikhil Masked9776159f112
diff --git a/static/templates/settings/account_settings.hbs b/static/templates/settings/account_settings.hbs
index 110564fdf98..41ea21def47 100644
--- a/static/templates/settings/account_settings.hbs
+++ b/static/templates/settings/account_settings.hbs
@@ -142,14 +142,6 @@
</div>
</form>
</div>
-
- <h3 class="inline-block" id="custom-field-header" {{#unless page_params.custom_profile_fields}}style="display: none"{{/unless}}>{{t "Profile" }}</h3>
- <form class="form-horizontal custom-profile-fields-form grid"></form>
- <button class="button rounded sea-green w-200 block" id="show_my_user_profile_modal">
- {{t 'Preview profile' }}
- <i class="fa fa-external-link" aria-hidden="true" title="{{t 'Preview profile' }}"></i>
- </button>
-
</div>
<div class="inline-block user-avatar-section">
@@ -166,6 +158,13 @@
</div>
<div class="clear-float"></div>
+ <h3 class="inline-block" id="custom-field-header" {{#unless page_params.custom_profile_fields}}style="display: none"{{/unless}}>{{t "Profile" }}</h3>
+ <form class="form-horizontal custom-profile-fields-form grid"></form>
+ <button class="button rounded sea-green w-200 block" id="show_my_user_profile_modal">
+ {{t 'Preview profile' }}
+ <i class="fa fa-external-link" aria-hidden="true" title="{{t 'Preview profile' }}"></i>
+ </button>
+
<div id="deactivate_self_modal" class="modal modal-bg hide fade" tabindex="-1" role="dialog" aria-labelledby="deactivation_self_modal_label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="{{t 'Close' }}"><span aria-hidden="true">&times;</span></button>