Skip to content

Commit ca92f0d

Browse files
author
niuweili
committed
add voice template
1 parent 7f394a6 commit ca92f0d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

en/on-call/configuration/templates.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,13 @@ Duration: {{ago .StartTime}}
614614
<Tab title="SMS">
615615
**Default Template**:
616616

617+
```go
618+
You have a pending incident: {{toHtml .Title}}, Channel: {{.ChannelName}}, Severity: {{.IncidentSeverity}}{{if gt .AlertCnt 1}}, {{.AlertCnt}} alerts grouped{{end}}
619+
```
620+
</Tab>
621+
<Tab title="Voice">
622+
**Default Template**:
623+
617624
```go
618625
You have a pending incident: {{toHtml .Title}}, Channel: {{.ChannelName}}, Severity: {{.IncidentSeverity}}{{if gt .AlertCnt 1}}, {{.AlertCnt}} alerts grouped{{end}}
619626
```

zh/on-call/configuration/templates.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,13 @@ keywords: ["通知模板", "模板配置", "消息格式", "模板变量", "通
641641
<Tab title="短信">
642642
**默认模板**
643643

644+
```go
645+
您有故障待处理:{{toHtml .Title}},协作空间:{{.ChannelName}},等级:{{.IncidentSeverity}}{{if gt .AlertCnt 1}},共聚合{{.AlertCnt}}条告警{{end}}
646+
```
647+
</Tab>
648+
<Tab title="语音">
649+
**默认模板**
650+
644651
```go
645652
您有故障待处理:{{toHtml .Title}},协作空间:{{.ChannelName}},等级:{{.IncidentSeverity}}{{if gt .AlertCnt 1}},共聚合{{.AlertCnt}}条告警{{end}}
646653
```

0 commit comments

Comments
 (0)