We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3793ec4 commit 2d343f8Copy full SHA for 2d343f8
templates/repo/header.tmpl
@@ -28,6 +28,13 @@
28
<div class="repo-icon" data-tooltip-content="{{ctx.Locale.Tr "repo.desc.template"}}">{{svg "octicon-repo-template" 18}}</div>
29
{{end}}
30
</div>
31
+ {{if $.PullMirror}}
32
+ <div class="fork-flag">
33
+ {{ctx.Locale.Tr "repo.mirror_from"}}
34
+ <a target="_blank" rel="noopener noreferrer" href="{{$.PullMirror.RemoteAddress}}">{{$.PullMirror.RemoteAddress}}</a>
35
+ {{if $.PullMirror.UpdatedUnix}}{{ctx.Locale.Tr "repo.mirror_sync"}} {{TimeSinceUnix $.PullMirror.UpdatedUnix ctx.Locale}}{{end}}
36
+ </div>
37
+ {{end}}
38
39
{{if not (or .IsBeingCreated .IsBroken)}}
40
<div class="repo-buttons">
0 commit comments