{{template "base/alert" .}}
{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}
{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}
{{if eq .HookType "gitea"}}
{{else if eq .HookType "gogs"}}
{{else if eq .HookType "slack"}}
{{else if eq .HookType "discord"}}
{{else if eq .HookType "dingtalk"}}
{{else if eq .HookType "telegram"}}
{{else if eq .HookType "msteams"}}
{{else if eq .HookType "feishu"}}
{{else if eq .HookType "matrix"}}
{{else if eq .HookType "wechatwork"}}
{{else if eq .HookType "packagist"}}
{{end}}







{{template "repo/settings/webhook/gitea" .}}
{{template "repo/settings/webhook/gogs" .}}
{{template "repo/settings/webhook/slack" .}}
{{template "repo/settings/webhook/discord" .}}
{{template "repo/settings/webhook/dingtalk" .}}
{{template "repo/settings/webhook/telegram" .}}
{{template "repo/settings/webhook/msteams" .}}
{{template "repo/settings/webhook/feishu" .}}
{{template "repo/settings/webhook/matrix" .}}
{{template "repo/settings/webhook/wechatwork" .}}
{{template "repo/settings/webhook/packagist" .}}
{{template "repo/settings/webhook/history" .}}