Fix push mirror address backend get error Address cause setting page display error (#20593) (#20901)

This commit is contained in:
zeripath
2022-08-22 02:14:48 -04:00
committed by GitHub
parent 37458bffbf
commit ebc8801fb2
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
</div>
</div>
{{if $.IsPullMirror}}
{{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName}}
{{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName false}}
<div class="fork-flag">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{$address.Address}}">{{$address.Address}}</a></div>
{{end}}
{{if .IsFork}}<div class="fork-flag">{{$.i18n.Tr "repo.forked_from"}} <a href="{{.BaseRepo.Link}}">{{.BaseRepo.FullName}}</a></div>{{end}}