From b98ad46459654ddf48a4d2403454788bfc65ba3b Mon Sep 17 00:00:00 2001 From: akshatdalton Date: Fri, 14 May 2021 19:38:39 +0000 Subject: [PATCH] templates: Move edit_bot to settings/. Since templates for settings UI should be in `static/templates/settings`. --- static/js/settings_bots.js | 2 +- static/templates/{ => settings}/edit_bot.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename static/templates/{ => settings}/edit_bot.hbs (98%) diff --git a/static/js/settings_bots.js b/static/js/settings_bots.js index a255657136..b886cb1287 100644 --- a/static/js/settings_bots.js +++ b/static/js/settings_bots.js @@ -3,7 +3,7 @@ import $ from "jquery"; import _ from "lodash"; import render_bot_avatar_row from "../templates/settings/bot_avatar_row.hbs"; -import render_edit_bot from "../templates/edit_bot.hbs"; +import render_edit_bot from "../templates/settings/edit_bot.hbs"; import render_settings_edit_embedded_bot_service from "../templates/settings/edit_embedded_bot_service.hbs"; import render_settings_edit_outgoing_webhook_service from "../templates/settings/edit_outgoing_webhook_service.hbs"; diff --git a/static/templates/edit_bot.hbs b/static/templates/settings/edit_bot.hbs similarity index 98% rename from static/templates/edit_bot.hbs rename to static/templates/settings/edit_bot.hbs index bf5aa03073..f8629d6d30 100644 --- a/static/templates/edit_bot.hbs +++ b/static/templates/settings/edit_bot.hbs @@ -13,7 +13,7 @@
- {{> settings/dropdown_list_widget + {{> dropdown_list_widget widget_name="bot_owner" list_placeholder=(t 'Filter users') reset_button_text=(t '[Remove owner]')}}