{{template "base/head" .}}
{{template "org/header" .}}
{{template "org/settings/navbar" .}}
{{template "base/alert" .}}

{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}
{{if eq .HookType "gogs"}} {{else if eq .HookType "slack"}} {{end}}

{{template "repo/settings/webhook/gogs" .}} {{template "repo/settings/webhook/slack" .}} {{template "repo/settings/webhook/discord" .}}
{{template "repo/settings/webhook/history" .}}
{{template "base/footer" .}}