mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
onboarding: Improve placeholder message for dm with yourself.
Fixes #29078
This commit is contained in:
committed by
Tim Abbott
parent
c60cc07605
commit
3d30fcd10a
@@ -330,18 +330,10 @@ function pick_empty_narrow_banner(): NarrowBannerData {
|
||||
defaultMessage:
|
||||
"You have not sent any direct messages to yourself yet!",
|
||||
}),
|
||||
html: $t_html(
|
||||
{
|
||||
defaultMessage:
|
||||
"Why not <z-link>start a conversation with yourself</z-link>?",
|
||||
},
|
||||
{
|
||||
"z-link": (content_html) =>
|
||||
`<a href="#" class="empty_feed_compose_private">${content_html.join(
|
||||
"",
|
||||
)}</a>`,
|
||||
},
|
||||
),
|
||||
html: $t_html({
|
||||
defaultMessage:
|
||||
"Use this space for personal notes, or to test out Zulip features.",
|
||||
}),
|
||||
};
|
||||
}
|
||||
return {
|
||||
|
@@ -408,7 +408,7 @@ run_test("show_empty_narrow_message", ({mock_template}) => {
|
||||
$(".empty_feed_notice_main").html(),
|
||||
empty_narrow_html(
|
||||
"translated: You have not sent any direct messages to yourself yet!",
|
||||
'translated HTML: Why not <a href="#" class="empty_feed_compose_private">start a conversation with yourself</a>?',
|
||||
"translated HTML: Use this space for personal notes, or to test out Zulip features.",
|
||||
),
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user