summaryrefslogtreecommitdiffstats
path: root/templates/admin/hook_new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/hook_new.tmpl')
-rw-r--r--templates/admin/hook_new.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/admin/hook_new.tmpl b/templates/admin/hook_new.tmpl
index 457c9cde45..c047efe9a2 100644
--- a/templates/admin/hook_new.tmpl
+++ b/templates/admin/hook_new.tmpl
@@ -20,6 +20,8 @@
<img class="img-13" src="{{AppSubUrl}}/img/discord.png">
{{else if eq .HookType "dingtalk"}}
<img class="img-13" src="{{AppSubUrl}}/img/dingtalk.ico">
+ {{else if eq .HookType "telegram"}}
+ <img class="img-13" src="{{AppSubUrl}}/img/telegram.png">
{{else if eq .HookType "msteams"}}
<img class="img-13" src="{{AppSubUrl}}/img/msteams.png">
{{end}}
@@ -31,6 +33,7 @@
{{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" .}}
</div>