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/base/footer_content.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/base/footer_content.tmpl')
-rw-r--r-- | templates/base/footer_content.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index f0d8a6f5a4..e30fe70768 100644 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -16,7 +16,7 @@ {{end}} </div> </div> - <a href="{{StaticUrlPrefix}}/js/licenses.txt">{{.i18n.Tr "licenses"}}</a> + <a href="{{AssetUrlPrefix}}/js/licenses.txt">{{.i18n.Tr "licenses"}}</a> {{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}} <a target="_blank" rel="noopener noreferrer" href="https://gitea.io">{{.i18n.Tr "website"}}</a> {{template "custom/extra_links_footer" .}} |