mirror of https://github.com/zulip/zulip.git
settings: Rename admin_bot_form.hbs to edit_bot_form.hbs.
We rename the file because in further commits we will use the same modal for the bot edit form in Personal settings section and that can be done by bot-owners who are not admins.
This commit is contained in:
parent
a57358c5be
commit
45f0a138c3
|
@ -3,9 +3,9 @@ import $ from "jquery";
|
|||
import render_settings_deactivation_bot_modal from "../templates/confirm_dialog/confirm_deactivate_bot.hbs";
|
||||
import render_settings_deactivation_user_modal from "../templates/confirm_dialog/confirm_deactivate_user.hbs";
|
||||
import render_settings_reactivation_user_modal from "../templates/confirm_dialog/confirm_reactivate_user.hbs";
|
||||
import render_admin_bot_form from "../templates/settings/admin_bot_form.hbs";
|
||||
import render_admin_human_form from "../templates/settings/admin_human_form.hbs";
|
||||
import render_admin_user_list from "../templates/settings/admin_user_list.hbs";
|
||||
import render_edit_bot_form from "../templates/settings/edit_bot_form.hbs";
|
||||
|
||||
import * as blueslip from "./blueslip";
|
||||
import * as bot_data from "./bot_data";
|
||||
|
@ -641,7 +641,7 @@ function handle_bot_form($tbody) {
|
|||
return;
|
||||
}
|
||||
|
||||
const html_body = render_admin_bot_form({
|
||||
const html_body = render_edit_bot_form({
|
||||
user_id,
|
||||
email: bot.email,
|
||||
full_name: bot.full_name,
|
||||
|
|
Loading…
Reference in New Issue