summaryrefslogtreecommitdiffstats
path: root/templates/admin
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/admin
parent2af67f6044af1cad7136ce8c123e37ab090ca9bc (diff)
downloadgitea-b9d1fb6de32613ada3869d2a9692cb078ed48534.tar.gz
gitea-b9d1fb6de32613ada3869d2a9692cb078ed48534.zip
Add support for MS Teams webhooks (#6632)
Diffstat (limited to 'templates/admin')
-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 c9ee14a982..457c9cde45 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 "msteams"}}
+ <img class="img-13" src="{{AppSubUrl}}/img/msteams.png">
{{end}}
</div>
</h4>
@@ -29,6 +31,7 @@
{{template "repo/settings/webhook/slack" .}}
{{template "repo/settings/webhook/discord" .}}
{{template "repo/settings/webhook/dingtalk" .}}
+ {{template "repo/settings/webhook/msteams" .}}
</div>
{{template "repo/settings/webhook/history" .}}