aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/settings
diff options
context:
space:
mode:
authorDaniel Grier <daniel.grier@gmail.com>2019-04-20 00:18:06 +1000
committertechknowlogick <matti@mdranta.net>2019-04-19 10:18:06 -0400
commitb9d1fb6de32613ada3869d2a9692cb078ed48534 (patch)
treee02d62ed2bbe2c92cad02ef405316507dc8d120b /templates/org/settings
parent2af67f6044af1cad7136ce8c123e37ab090ca9bc (diff)
downloadgitea-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.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 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" .}}