mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-21 13:44:39 +03:00
f40a2a4404
* Store task errors following migrations and display them When migrate tasks fail store the error in the task table and ensure that they show on the status page. Fix #13242 Signed-off-by: Andrew Thornton <art27@cantab.net> * Update web_src/js/index.js * Hide the failed first Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
37 lines
1.2 KiB
Cheetah
37 lines
1.2 KiB
Cheetah
{{template "base/head" .}}
|
|
<div class="repository quickstart">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
<div class="ui grid">
|
|
<div class="sixteen wide column content">
|
|
{{template "base/alert" .}}
|
|
<div class="home">
|
|
<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"/>
|
|
</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"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ui stackable middle very relaxed page grid">
|
|
<div class="sixteen wide center aligned centered column">
|
|
<div id="repo_migrating_progress">
|
|
<p>{{.i18n.Tr "repo.migrate.migrating" .CloneAddr | Safe}}</p>
|
|
</div>
|
|
<div id="repo_migrating_failed">
|
|
<p>{{.i18n.Tr "repo.migrate.migrating_failed" .CloneAddr | Safe}}</p>
|
|
<p id="repo_migrating_failed_error"></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|