summaryrefslogtreecommitdiffstats
path: root/templates/repo/migrate
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/repo/migrate
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/repo/migrate')
-rw-r--r--templates/repo/migrate/migrating.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/migrate/migrating.tmpl b/templates/repo/migrate/migrating.tmpl
index 4bb31dc176..e4a3ec81f7 100644
--- a/templates/repo/migrate/migrating.tmpl
+++ b/templates/repo/migrate/migrating.tmpl
@@ -9,12 +9,12 @@
<div class="ui stackable middle very relaxed page grid">
<div id="repo_migrating" class="sixteen wide center aligned centered column" task="{{.MigrateTask.ID}}">
<div>
- <img src="{{StaticUrlPrefix}}/img/loading.png"/>
+ <img src="{{AssetUrlPrefix}}/img/loading.png"/>
</div>
</div>
<div id="repo_migrating_failed_image" class="sixteen wide center aligned centered column" style="display: none;">
<div>
- <img src="{{StaticUrlPrefix}}/img/failed.png"/>
+ <img src="{{AssetUrlPrefix}}/img/failed.png"/>
</div>
</div>
</div>