{{if eq .HookType "slack"}}

{{.i18n.Tr "repo.settings.add_web_hook_desc" "https://slack.com" (.i18n.Tr "repo.settings.web_hook_name_slack") | Str2html}}

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