summaryrefslogtreecommitdiffstats
path: root/templates/admin/hook_new.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-02-12 16:48:28 +0800
committerGitHub <noreply@github.com>2020-02-12 08:48:28 +0000
commit83a8944fcf64af9bf5b0a4e233f9a7f917838a4d (patch)
treeebb4436506a4e36939fcfa358ccb09dfd3a01d3a /templates/admin/hook_new.tmpl
parentea7ad382e78486fc881bf46d9c1c004e3f311163 (diff)
downloadgitea-83a8944fcf64af9bf5b0a4e233f9a7f917838a4d.tar.gz
gitea-83a8944fcf64af9bf5b0a4e233f9a7f917838a4d.zip
Add feishu webhook support (#10229)
Add feishu webhook support
Diffstat (limited to 'templates/admin/hook_new.tmpl')
-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 2292377f6e..65f567b5dc 100644
--- a/templates/admin/hook_new.tmpl
+++ b/templates/admin/hook_new.tmpl
@@ -24,6 +24,8 @@
<img class="img-13" src="{{StaticUrlPrefix}}/img/telegram.png">
{{else if eq .HookType "msteams"}}
<img class="img-13" src="{{StaticUrlPrefix}}/img/msteams.png">
+ {{else if eq .HookType "feishu"}}
+ <img class="img-13" src="{{StaticUrlPrefix}}/img/feishu.png">
{{end}}
</div>
</h4>
@@ -35,6 +37,7 @@
{{template "repo/settings/webhook/dingtalk" .}}
{{template "repo/settings/webhook/telegram" .}}
{{template "repo/settings/webhook/msteams" .}}
+ {{template "repo/settings/webhook/feishu" .}}
</div>
{{template "repo/settings/webhook/history" .}}