summaryrefslogtreecommitdiffstats
path: root/templates/org
diff options
context:
space:
mode:
authortechknowlogick <matti@mdranta.net>2019-04-18 22:45:02 -0400
committerGitHub <noreply@github.com>2019-04-18 22:45:02 -0400
commit56da256853001cf3538b8d4ae99798e084935a90 (patch)
treecdbd686d31750aa89365635eb96705c5a9fc1efc /templates/org
parent6dbd26185203d464c4a4e32e7af04a34f37ae4f2 (diff)
downloadgitea-56da256853001cf3538b8d4ae99798e084935a90.tar.gz
gitea-56da256853001cf3538b8d4ae99798e084935a90.zip
Telegram webhook (#4227)
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/settings/hook_new.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl
index 809009b66b..5b216c466b 100644
--- a/templates/org/settings/hook_new.tmpl
+++ b/templates/org/settings/hook_new.tmpl
@@ -19,6 +19,8 @@
<img class="img-13" src="{{AppSubUrl}}/img/discord.png">
{{else if eq .HookType "dingtalk"}}
<img class="img-13" src="{{AppSubUrl}}/img/dingtalk.png">
+ {{else if eq .HookType "telegram"}}
+ <img class="img-13" src="{{AppSubUrl}}/img/telegram.png">
{{end}}
</div>
</h4>
@@ -28,6 +30,7 @@
{{template "repo/settings/webhook/slack" .}}
{{template "repo/settings/webhook/discord" .}}
{{template "repo/settings/webhook/dingtalk" .}}
+ {{template "repo/settings/webhook/telegram" .}}
</div>
{{template "repo/settings/webhook/history" .}}