mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
showroom-banners: Update desktop notifications banner text.
Updates the desktop notificaiton banner example in the devtools showroom for the banner redesign to have the current banner text that's used in navbar alert.
This commit is contained in:
committed by
Tim Abbott
parent
48c9a86962
commit
7e1625d58b
@@ -124,16 +124,10 @@ const alert_banners: Record<string, AlertBanner> = {
|
||||
process: "notifications",
|
||||
intent: "brand",
|
||||
label: new Handlebars.SafeString(
|
||||
$t_html(
|
||||
{
|
||||
defaultMessage:
|
||||
"Zulip needs your permission to enable desktop notifications for messages you receive. You can <z-link>customize</z-link> what kinds of messages trigger notifications.",
|
||||
},
|
||||
{
|
||||
"z-link": (content_html) =>
|
||||
`<a class="banner-link" href="https://zulip.com/help/desktop-notifications#desktop-notifications" target="_blank" rel="noopener noreferrer">${content_html.join("")}</a>`,
|
||||
},
|
||||
),
|
||||
$t_html({
|
||||
defaultMessage:
|
||||
"Zulip needs your permission to enable desktop notifications for important messages.",
|
||||
}),
|
||||
),
|
||||
buttons: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user