mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	org_settings: Fix formatting and field ordering for bot modal.
This commit fixes the formatting of the "Manage bot" modal and re-orders the field labels as per the bot-list table.
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -966,7 +966,6 @@ input[type="checkbox"] {
 | 
			
		||||
    padding: 0;
 | 
			
		||||
 | 
			
		||||
    label {
 | 
			
		||||
        text-transform: uppercase;
 | 
			
		||||
        font-weight: 600;
 | 
			
		||||
        color: hsl(0, 0%, 67%);
 | 
			
		||||
        margin-top: 5px;
 | 
			
		||||
 
 | 
			
		||||
@@ -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_widget
 | 
			
		||||
              widget_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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user