Browse Source

Fix file extension on gogs.png (#35793)

During https://github.com/go-gitea/gitea/issues/35790, it was noticed
that this PNG image had the wrong file extension. I also verified
`dingtalk.ico` and that one is actually an `.ico`.
pull/34995/merge
silverwind 2 months ago committed by GitHub
parent
commit
c3472dd395
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 0
      public/assets/img/gogs.png
  2. 2
      templates/shared/webhook/icon.tmpl

0
public/assets/img/gogs.ico → public/assets/img/gogs.png

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

2
templates/shared/webhook/icon.tmpl

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
{{if eq .HookType "gitea"}}
{{svg "gitea-gitea" $size "img"}}
{{else if eq .HookType "gogs"}}
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gogs.ico">
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gogs.png">
{{else if eq .HookType "slack"}}
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/slack.png">
{{else if eq .HookType "discord"}}

Loading…
Cancel
Save