summaryrefslogtreecommitdiffstats
path: root/templates/org/settings/hook_new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/settings/hook_new.tmpl')
-rw-r--r--templates/org/settings/hook_new.tmpl18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl
index c15d850e00..d070b8bc4b 100644
--- a/templates/org/settings/hook_new.tmpl
+++ b/templates/org/settings/hook_new.tmpl
@@ -10,23 +10,23 @@
{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}
<div class="ui right">
{{if eq .HookType "gitea"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gitea.svg">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/gitea.svg">
{{else if eq .HookType "gogs"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gogs.ico">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/gogs.ico">
{{else if eq .HookType "slack"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/slack.png">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/slack.png">
{{else if eq .HookType "discord"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/discord.png">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/discord.png">
{{else if eq .HookType "dingtalk"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/dingtalk.ico">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/dingtalk.ico">
{{else if eq .HookType "telegram"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/telegram.png">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/telegram.png">
{{else if eq .HookType "msteams"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/msteams.png">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/msteams.png">
{{else if eq .HookType "feishu"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/feishu.png">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/feishu.png">
{{else if eq .HookType "matrix"}}
- <img width="26" height="26" src="{{StaticUrlPrefix}}/img/matrix.svg">
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/matrix.svg">
{{end}}
</div>
</h4>