diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-10-25 13:13:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-25 13:13:45 +0800 |
commit | 796be03e9b62154c9432622b8b4dbcef86a72a94 (patch) | |
tree | 5626ecb8c615f91710518afc94af1f7ff0e13be9 /templates/org/settings | |
parent | b0f04e75932553beb44e9b29de0e10452b20cb1c (diff) | |
download | gitea-796be03e9b62154c9432622b8b4dbcef86a72a94.tar.gz gitea-796be03e9b62154c9432622b8b4dbcef86a72a94.zip |
fix discord hook bug (#2778)
Diffstat (limited to 'templates/org/settings')
-rw-r--r-- | templates/org/settings/hook_new.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl index 1710713f94..15c6943185 100644 --- a/templates/org/settings/hook_new.tmpl +++ b/templates/org/settings/hook_new.tmpl @@ -15,6 +15,8 @@ <img class="img-13" src="{{AppSubUrl}}/img/gogs.ico"> {{else if eq .HookType "slack"}} <img class="img-13" src="{{AppSubUrl}}/img/slack.png"> + {{else if eq .HookType "discord"}} + <img class="img-13" src="{{AppSubUrl}}/img/discord.png"> {{end}} </div> </h4> |