diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 9630cd3a6..c362059ef 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -28,6 +28,13 @@
{{svg "octicon-repo-template" 18}}
{{end}} + {{if $.PullMirror}} +
+ {{ctx.Locale.Tr "repo.mirror_from"}} + {{$.PullMirror.RemoteAddress}} + {{if $.PullMirror.UpdatedUnix}}{{ctx.Locale.Tr "repo.mirror_sync"}} {{TimeSinceUnix $.PullMirror.UpdatedUnix ctx.Locale}}{{end}} +
+ {{end}} {{if not (or .IsBeingCreated .IsBroken)}}