From bc8809d45c32bf1d5b48a8d5508096e34b483ff3 Mon Sep 17 00:00:00 2001 From: Sayam Samal Date: Thu, 23 Nov 2023 01:49:51 +0530 Subject: [PATCH] invite: Change banner type from warning to info. Also rename "setup_tips_warning" classname to "setup_tips_banner". --- web/src/compose_banner.ts | 1 + web/src/invite.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/compose_banner.ts b/web/src/compose_banner.ts index c46fb0a7de..0c1d11393d 100644 --- a/web/src/compose_banner.ts +++ b/web/src/compose_banner.ts @@ -14,6 +14,7 @@ export function set_scroll_to_message_banner_message_id(val: number | null): voi export const WARNING = "warning"; export const ERROR = "error"; export const SUCCESS = "success"; +export const INFO = "info"; const MESSAGE_SENT_CLASSNAMES = { sent_scroll_to_view: "sent_scroll_to_view", diff --git a/web/src/invite.ts b/web/src/invite.ts index e0d3b95f17..16a42b105d 100644 --- a/web/src/invite.ts +++ b/web/src/invite.ts @@ -442,8 +442,8 @@ function open_invite_user_modal(e: JQuery.ClickEvent): void const invite_tips_data = generate_invite_tips_data(); const context = { - banner_type: compose_banner.WARNING, - classname: "setup_tips_warning", + banner_type: compose_banner.INFO, + classname: "setup_tips_banner", banner_html: "", ...invite_tips_data, };