mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-24 17:25:19 +08:00
fix discord hook bug (#2778)
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a MIT-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
package models
|
package models
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -15,6 +15,8 @@
|
|||||||
<img class="img-13" src="{{AppSubUrl}}/img/gogs.ico">
|
<img class="img-13" src="{{AppSubUrl}}/img/gogs.ico">
|
||||||
{{else if eq .HookType "slack"}}
|
{{else if eq .HookType "slack"}}
|
||||||
<img class="img-13" src="{{AppSubUrl}}/img/slack.png">
|
<img class="img-13" src="{{AppSubUrl}}/img/slack.png">
|
||||||
|
{{else if eq .HookType "discord"}}
|
||||||
|
<img class="img-13" src="{{AppSubUrl}}/img/discord.png">
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</h4>
|
</h4>
|
||||||
|
|||||||
Reference in New Issue
Block a user