summaryrefslogtreecommitdiffstats
path: root/templates/base/head_navbar.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-05-08 16:27:25 +0200
committerGitHub <noreply@github.com>2021-05-08 16:27:25 +0200
commit24ad131221d8cb0becf726e0570f53838262edf1 (patch)
treea06648e4fd6b051eaca60513b63ba3fe69314cd1 /templates/base/head_navbar.tmpl
parente2786147539909eaef2bc39fb728a10b88277d31 (diff)
downloadgitea-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/base/head_navbar.tmpl')
-rw-r--r--templates/base/head_navbar.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl
index 7e476fa4a4..fcc5fb25e7 100644
--- a/templates/base/head_navbar.tmpl
+++ b/templates/base/head_navbar.tmpl
@@ -1,7 +1,7 @@
<div class="ui container" id="navbar">
<div class="item brand" style="justify-content: space-between;">
<a href="{{AppSubUrl}}/">
- <img class="ui mini image" with="30" height="30" src="{{StaticUrlPrefix}}/img/logo.svg">
+ <img class="ui mini image" with="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg">
</a>
<div class="ui basic icon button mobile-only" id="navbar-expand-toggle">
<i class="sidebar icon"></i>