diff options
author | Gary Kim <gary@garykim.dev> | 2019-08-26 22:59:10 +0000 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-08-26 18:59:10 -0400 |
commit | 541fab196f216771a51419a8b8d353694afa6c45 (patch) | |
tree | ec221139355ba7ea697c7a091a09dfb07398461a /templates/admin | |
parent | bb5f7cdae6276a2e48f106c3cf84ab7d2de74aa4 (diff) | |
download | gitea-541fab196f216771a51419a8b8d353694afa6c45.tar.gz gitea-541fab196f216771a51419a8b8d353694afa6c45.zip |
Fix adding default Telegram webhook (#7972)
* Fix adding default Telegram webhook
Fixes #7932
Signed-off-by: Gary Kim <gary@garykim.dev>
* Run goimports
Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/hook_new.tmpl | 3 |
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> |