Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

invite: Change banner type from warning to info.

Sayam Samalbc8809d45c32
diff --git a/web/src/compose_banner.ts b/web/src/compose_banner.ts
index c46fb0a7de8..0c1d11393de 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 e0d3b95f178..16a42b105df 100644
--- a/web/src/invite.ts
+++ b/web/src/invite.ts
@@ -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,
};