diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl
index 1bf74fb7ba..4a1323568a 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 8db9a9263e..1bc9447110 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 73d6726a57..1b04742221 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 0000000000..84f9de266f
--- /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 ac32cdd8c8..83ae4801b4 100644
--- a/templates/user/settings/hook_new.tmpl
+++ b/templates/user/settings/hook_new.tmpl
@@ -4,29 +4,7 @@