diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-11-21 12:26:43 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-11-21 06:26:43 +0200 |
commit | 10b54df2b2efa539fbaa0bf624e81cb5da99f97a (patch) | |
tree | 24d30bb8fdb9f4396b0bc5212b3a95b6fa09cb93 /templates/org | |
parent | 420fc8efc24d7a77598307557e5b38077d0efafc (diff) | |
download | gitea-10b54df2b2efa539fbaa0bf624e81cb5da99f97a.tar.gz gitea-10b54df2b2efa539fbaa0bf624e81cb5da99f97a.zip |
Add dingtalk webhook (#2777)
* add dingtalk webhook type
* add vendor
* some fixes
* fix name check
* fix name check & improvment
Diffstat (limited to 'templates/org')
-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 15c6943185..bedb2dc142 100644 --- a/templates/org/settings/hook_new.tmpl +++ b/templates/org/settings/hook_new.tmpl @@ -17,6 +17,8 @@ <img class="img-13" src="{{AppSubUrl}}/img/slack.png"> {{else if eq .HookType "discord"}} <img class="img-13" src="{{AppSubUrl}}/img/discord.png"> + {{else if eq .HookType "dingtalk"}} + <img class="img-13" src="{{AppSubUrl}}/img/dingtalk.png"> {{end}} </div> </h4> @@ -25,6 +27,7 @@ {{template "repo/settings/hook_gogs" .}} {{template "repo/settings/hook_slack" .}} {{template "repo/settings/hook_discord" .}} + {{template "repo/settings/hook_dingtalk" .}} </div> {{template "repo/settings/hook_history" .}} |