diff options
author | silverwind <me@silverwind.io> | 2021-05-08 16:27:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 16:27:25 +0200 |
commit | 24ad131221d8cb0becf726e0570f53838262edf1 (patch) | |
tree | a06648e4fd6b051eaca60513b63ba3fe69314cd1 /templates/admin/hook_new.tmpl | |
parent | e2786147539909eaef2bc39fb728a10b88277d31 (diff) | |
download | gitea-24ad131221d8cb0becf726e0570f53838262edf1.tar.gz gitea-24ad131221d8cb0becf726e0570f53838262edf1.zip |
Rename StaticUrlPrefix to AssetUrlPrefix (#15779)
Use a new name for this template/frontend variable to make it distinct
from the server variable StaticURLPrefix.
Diffstat (limited to 'templates/admin/hook_new.tmpl')
-rw-r--r-- | templates/admin/hook_new.tmpl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/admin/hook_new.tmpl b/templates/admin/hook_new.tmpl index 9b251ec4cb..01e9e429a6 100644 --- a/templates/admin/hook_new.tmpl +++ b/templates/admin/hook_new.tmpl @@ -15,23 +15,23 @@ {{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> |