We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f04e7 commit 796be03Copy full SHA for 796be03
models/webhook_discord.go
@@ -1,3 +1,7 @@
1
+// Copyright 2017 The Gitea Authors. All rights reserved.
2
+// Use of this source code is governed by a MIT-style
3
+// license that can be found in the LICENSE file.
4
+
5
package models
6
7
import (
templates/org/settings/hook_new.tmpl
@@ -15,6 +15,8 @@
15
<img class="img-13" src="{{AppSubUrl}}/img/gogs.ico">
16
{{else if eq .HookType "slack"}}
17
<img class="img-13" src="{{AppSubUrl}}/img/slack.png">
18
+ {{else if eq .HookType "discord"}}
19
+ <img class="img-13" src="{{AppSubUrl}}/img/discord.png">
20
{{end}}
21
</div>
22
</h4>
0 commit comments