invite: Change banner type from warning to info.

Also rename "setup_tips_warning" classname to "setup_tips_banner".
This commit is contained in:
Sayam Samal 2023-11-23 01:49:51 +05:30 committed by Tim Abbott
parent f012e6dab0
commit bc8809d45c
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -442,8 +442,8 @@ function open_invite_user_modal(e: JQuery.ClickEvent<Document, undefined>): 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,
};