mirror of https://github.com/zulip/zulip.git
invite: Change banner type from warning to info.
Also rename "setup_tips_warning" classname to "setup_tips_banner".
This commit is contained in:
parent
f012e6dab0
commit
bc8809d45c
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue