Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
org_settings: Fix formatting and field ordering for bot modal.
somesh2020b92e4c22f37
diff --git a/static/js/settings_users.js b/static/js/settings_users.jsindex 57089ca56f4..773639b1438 100644--- a/static/js/settings_users.js+++ b/static/js/settings_users.js@@ -690,7 +690,7 @@ function handle_bot_form($tbody) {}dialog_widget.launch({- html_heading: $t_html({defaultMessage: "Change bot info and owner"}),+ html_heading: $t_html({defaultMessage: "Manage bot"}),html_body,id: "edit_bot_modal",on_click: submit_bot_details,diff --git a/static/styles/settings.css b/static/styles/settings.cssindex f989172a84d..438bd9593f4 100644--- a/static/styles/settings.css+++ b/static/styles/settings.css@@ -966,7 +966,6 @@ input[type="checkbox"] {padding: 0;label {- text-transform: uppercase;font-weight: 600;color: hsl(0, 0%, 67%);margin-top: 5px;diff --git a/static/templates/settings/admin_bot_form.hbs b/static/templates/settings/admin_bot_form.hbsindex c6bcf658938..2e62556cc7e 100644--- a/static/templates/settings/admin_bot_form.hbs+++ b/static/templates/settings/admin_bot_form.hbs@@ -1,19 +1,23 @@<div id="bot-edit-form" data-user-id="{{user_id}}"><form class="new-style edit_bot_form form-horizontal name-setting">+ <div class="input-group name_change_container">+ <label for="full_name">{{t "Full name" }}</label>+ <input type="text" autocomplete="off" name="full_name" value="{{ full_name }}" />+ </div><input type="hidden" name="is_full_name" value="true" />+ <div class="input-group email_change_container">+ <label for="email">{{t "Email" }}</label>+ <input type="text" autocomplete="off" name="email" value="{{ email }}" readonly/>+ </div>+ <div class="input-group user_id_container">+ <label for="user_id">{{t "User ID" }}</label>+ <input type="text" autocomplete="off" name="user_id" value="{{ user_id }}" readonly/>+ </div><div class="input-group edit_bot_owner_container"><label for="bot_owner_select">{{t "Owner" }}</label>{{> dropdown_list_widgetwidget_name="edit_bot_owner"list_placeholder=(t 'Filter users')}}</div>- <div class="name_change_container">- <label for="full_name">{{t "Full name" }}</label>- <input type="text" autocomplete="off" name="full_name" value="{{ full_name }}" />- </div>- <div class="email_change_container">- <label for="email">{{t "Email" }}</label>- <input type="text" autocomplete="off" name="email" value="{{ email }}" readonly/>- </div></form></div>