mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 14:43:52 +03:00
Backport #24732
Bug-fix only
(cherry picked from commit 6ecd2e782f
)
This commit is contained in:
parent
f9bf040a5a
commit
f37fba567a
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{if $.IsPullMirror}}
|
{{if and $.IsPullMirror $.Mirror}}
|
||||||
{{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName false}}
|
{{$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>
|
<div class="fork-flag">{{$.locale.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{$address.Address}}">{{$address.Address}}</a></div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .Repository.IsMirror}}
|
{{if and .Repository.IsMirror .Mirror}}
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{(MirrorRemoteAddress $.Context .Repository .Mirror.GetRemoteName false).Address}}</td>
|
<td>{{(MirrorRemoteAddress $.Context .Repository .Mirror.GetRemoteName false).Address}}</td>
|
||||||
|
|
Loading…
Reference in a new issue