Skip to content

Commit a5513f9

Browse files
committed
Update client-notifications partial with toggle names
1 parent 5edb723 commit a5513f9

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed

src/content/docs/cloudflare-one/policies/gateway/dns-policies/index.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,11 @@ If the block page is disabled, Gateway will respond to queries blocked at the DN
146146

147147
#### WARP client block notifications
148148

149-
<Render file="gateway/client-notifications" product="cloudflare-one" />
149+
<Render
150+
file="gateway/client-notifications"
151+
product="cloudflare-one"
152+
params={{ toggleName: "**Display block notification for WARP Client**" }}
153+
/>
150154

151155
### Override
152156

src/content/docs/cloudflare-one/policies/gateway/http-policies/antivirus-scanning.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ When a request is blocked due to the presence of malware, Gateway will log the m
2424

2525
### WARP client block notifications
2626

27-
<Render file="gateway/client-notifications" />
27+
<Render
28+
file="gateway/client-notifications"
29+
product="cloudflare-one"
30+
params={{ toggleName: "**Display AV block notification for WARP Client**" }}
31+
/>
2832

2933
## File scan criteria
3034

src/content/docs/cloudflare-one/policies/gateway/http-policies/index.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ The Block action blocks outbound traffic from reaching destinations you specify
7777

7878
#### WARP client block notifications
7979

80-
<Render file="gateway/client-notifications" product="cloudflare-one" />
80+
<Render
81+
file="gateway/client-notifications"
82+
product="cloudflare-one"
83+
params={{ toggleName: "**Display block notification for WARP Client**" }}
84+
/>
8185

8286
### Redirect
8387

src/content/docs/cloudflare-one/policies/gateway/network-policies/index.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,11 @@ Policies with Block actions block network traffic from reaching certain IPs or p
181181

182182
#### WARP client block notifications
183183

184-
<Render file="gateway/client-notifications" product="cloudflare-one" />
184+
<Render
185+
file="gateway/client-notifications"
186+
product="cloudflare-one"
187+
params={{ toggleName: "**Display block notification for WARP Client**" }}
188+
/>
185189

186190
### Network Override
187191

src/content/partials/cloudflare-one/gateway/client-notifications.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
{}
2+
params:
3+
- toggleName
34
---
45

5-
import { Details, Render } from "~/components";
6+
import { Details, Render, Markdown } from "~/components";
67

78
<Details header="Feature availability">
89

@@ -21,9 +22,9 @@ import { Details, Render } from "~/components";
2122

2223
</Details>
2324

24-
Turn on **Display block notification for WARP client** to display notifications for Gateway block events. Blocked users will receive an operating system notification from the WARP client with a custom message you set. If you do not set a custom message, the WARP client will display a default message. Custom messages must be 100 characters or less. WARP will only display one notification per minute.
25+
Turn on <Markdown text={props.toggleName} /> to display notifications for Gateway block events. Blocked users will receive an operating system notification from the WARP client with a custom message you set. If you do not set a custom message, the WARP client will display a default message. Custom messages must be 100 characters or less. WARP will only display one notification per minute.
2526

26-
Upon selecting the notification, WARP will direct your users to a block page. Optionally, you can direct users to a custom URL, such as an internal support form.
27+
Upon selecting the notification, WARP will direct your users to the [Gateway block page](/cloudflare-one/policies/gateway/block-page/) you have configured. Optionally, you can direct users to a custom URL, such as an internal support form.
2728

2829
<Render file="gateway/policy-context" product="cloudflare-one" />
2930

0 commit comments

Comments
 (0)