{{template "base/alert" .}}
{{if .PageIsAdminHooksNew}}
{{.i18n.Tr "admin.hooks.add_webhook"}}
{{else}}
{{.i18n.Tr "admin.hooks.update_webhook"}}
{{end}}
{{if .PageIsAdminHooksNew}}
{{.i18n.Tr "admin.hooks.add_webhook"}}
{{else}}
{{.i18n.Tr "admin.hooks.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"}}
{{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/history" .}}