diff options
author | Daniel Grier <daniel.grier@gmail.com> | 2019-04-20 00:18:06 +1000 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-04-19 10:18:06 -0400 |
commit | b9d1fb6de32613ada3869d2a9692cb078ed48534 (patch) | |
tree | e02d62ed2bbe2c92cad02ef405316507dc8d120b /templates/org/settings | |
parent | 2af67f6044af1cad7136ce8c123e37ab090ca9bc (diff) | |
download | gitea-b9d1fb6de32613ada3869d2a9692cb078ed48534.tar.gz gitea-b9d1fb6de32613ada3869d2a9692cb078ed48534.zip |
Add support for MS Teams webhooks (#6632)
Diffstat (limited to 'templates/org/settings')
-rw-r--r-- | templates/org/settings/hook_new.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl index 5b216c466b..5db91011d8 100644 --- a/templates/org/settings/hook_new.tmpl +++ b/templates/org/settings/hook_new.tmpl @@ -21,6 +21,8 @@ <img class="img-13" src="{{AppSubUrl}}/img/dingtalk.png"> {{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}} </div> </h4> @@ -31,6 +33,7 @@ {{template "repo/settings/webhook/discord" .}} {{template "repo/settings/webhook/dingtalk" .}} {{template "repo/settings/webhook/telegram" .}} + {{template "repo/settings/webhook/msteams" .}} </div> {{template "repo/settings/webhook/history" .}} |