mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Use portrait alignment for adding-bots form.
The add-bots form used to have a landscape alignment, as it was integrated into the same HTML table that showed your existing bots. This became unwieldy once we allowed users to upload avatars. (imported from commit 246a35be77ce1679d595271e6911dc339a6813ab)
This commit is contained in:
@@ -15,7 +15,8 @@ function add_bot_row(name, email, avatar_url, api_key) {
|
||||
$('<td>').text(email),
|
||||
$('<td>').html(avatar_cell),
|
||||
$('<td class="api_key">').text(api_key));
|
||||
$('#create_bot_row').before(row);
|
||||
$('#bots_table tr:last').after(row);
|
||||
$('#bots_table').show();
|
||||
}
|
||||
|
||||
function is_local_part(value, element) {
|
||||
|
||||
Reference in New Issue
Block a user