aboutsummaryrefslogtreecommitdiffstats
path: root/templates/shared
diff options
context:
space:
mode:
authorTim-Nicas Oelschläger <72873130+zokkis@users.noreply.github.com>2024-02-15 14:59:48 +0100
committerGitHub <noreply@github.com>2024-02-15 14:59:48 +0100
commit374e886f5113a996e1e927a60d1775e77262c364 (patch)
tree2ccc171cb3f4efc300e7ecab78dfd27627c08b73 /templates/shared
parent542480a9b0d5cdb497dbfa99752d59fd016df0d6 (diff)
downloadgitea-374e886f5113a996e1e927a60d1775e77262c364.tar.gz
gitea-374e886f5113a996e1e927a60d1775e77262c364.zip
Change webhook-type in create-view (#29114)
It's now possible to change webhook-type in create-view. before: ![image](https://github.com/go-gitea/gitea/assets/72873130/9ee1b9fb-843b-4f28-b8d6-6361e5d184f1) after: ![image](https://github.com/go-gitea/gitea/assets/72873130/9dbf058f-5912-43af-9acd-487271212f2d) --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/shared')
-rw-r--r--templates/shared/webhook/icon.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/webhook/icon.tmpl b/templates/shared/webhook/icon.tmpl
index 84f9de266f..0f80787c57 100644
--- a/templates/shared/webhook/icon.tmpl
+++ b/templates/shared/webhook/icon.tmpl
@@ -3,7 +3,7 @@
{{$size = .Size}}
{{end}}
{{if eq .HookType "gitea"}}
- <img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gitea.svg">
+ {{svg "gitea-gitea" $size "img"}}
{{else if eq .HookType "gogs"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gogs.ico">
{{else if eq .HookType "slack"}}