summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/hook_list.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-08-28 13:06:45 +0800
committerGitHub <noreply@github.com>2017-08-28 13:06:45 +0800
commitced50e0ec13085504fa19c82f018a2eecb70ff68 (patch)
tree10dff3ff685a86bad683c731f8329743f217617e /templates/repo/settings/hook_list.tmpl
parente41da3845d72e3adc7ae2cd3a02fc1f3943ebee6 (diff)
downloadgitea-ced50e0ec13085504fa19c82f018a2eecb70ff68.tar.gz
gitea-ced50e0ec13085504fa19c82f018a2eecb70ff68.zip
Implementation of discord webhook (#2402)
* implementation of discord webhook * fix webhooks * fix typo and unnecessary color values * fix typo * fix imports and revert changes to webhook_slack.go
Diffstat (limited to 'templates/repo/settings/hook_list.tmpl')
-rw-r--r--templates/repo/settings/hook_list.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/repo/settings/hook_list.tmpl b/templates/repo/settings/hook_list.tmpl
index 45ef70ecad..dce3439096 100644
--- a/templates/repo/settings/hook_list.tmpl
+++ b/templates/repo/settings/hook_list.tmpl
@@ -14,6 +14,9 @@
<a class="item" href="{{.BaseLink}}/settings/hooks/slack/new">
<img class="img-10" src="{{AppSubUrl}}/img/slack.png">Slack
</a>
+ <a class="item" href="{{.BaseLink}}/settings/hooks/discord/new">
+ <img class="img-10" src="{{AppSubUrl}}/img/discord.png">Discord
+ </a>
</div>
</div>
</div>