{{if eq .HookType "slack"}}

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

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