{{if eq .HookType "slack"}}

{{.i18n.Tr "repo.settings.add_slack_hook_desc" "https://slack.com" | Str2html}}

{{.CSRFTokenHTML}}
{{template "repo/settings/webhook/settings" .}}
{{end}}