1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-12 20:48:20 +00:00

Fix Pull Mirror out-of-sync bugs (#24732) (#24733)

Backport #24732 

Bug-fix only
This commit is contained in:
wxiaoguang
2023-05-16 02:30:21 +08:00
committed by GitHub
parent 2fea93b2d3
commit 6ecd2e782f
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@
{{end}}
</div>
</div>
{{if $.IsPullMirror}}
{{if and $.IsPullMirror $.Mirror}}
{{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName false}}
<div class="fork-flag">{{$.locale.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{$address.Address}}">{{$address.Address}}</a></div>
{{end}}