diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl
index 1bf74fb7b..4a1323568 100644
--- a/templates/org/settings/hook_new.tmpl
+++ b/templates/org/settings/hook_new.tmpl
@@ -3,29 +3,7 @@
diff --git a/templates/repo/settings/webhook/base_list.tmpl b/templates/repo/settings/webhook/base_list.tmpl
index 8db9a9263..1bc944711 100644
--- a/templates/repo/settings/webhook/base_list.tmpl
+++ b/templates/repo/settings/webhook/base_list.tmpl
@@ -5,37 +5,48 @@
{{.locale.Tr "repo.settings.add_webhook"}}
diff --git a/templates/repo/settings/webhook/new.tmpl b/templates/repo/settings/webhook/new.tmpl
index 73d6726a5..1b0474222 100644
--- a/templates/repo/settings/webhook/new.tmpl
+++ b/templates/repo/settings/webhook/new.tmpl
@@ -3,29 +3,7 @@
diff --git a/templates/shared/webhook/icon.tmpl b/templates/shared/webhook/icon.tmpl
new file mode 100644
index 000000000..84f9de266
--- /dev/null
+++ b/templates/shared/webhook/icon.tmpl
@@ -0,0 +1,27 @@
+{{$size := 26}}
+{{if .Size}}
+ {{$size = .Size}}
+{{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"}}
+ {{svg "gitea-matrix" $size "img"}}
+{{else if eq .HookType "wechatwork"}}
+
+{{else if eq .HookType "packagist"}}
+
+{{end}}
diff --git a/templates/user/settings/hook_new.tmpl b/templates/user/settings/hook_new.tmpl
index ac32cdd8c..83ae4801b 100644
--- a/templates/user/settings/hook_new.tmpl
+++ b/templates/user/settings/hook_new.tmpl
@@ -4,29 +4,7 @@