{{.locale.Tr "repo.settings.basic_settings"}}
{{.locale.Tr "repo.settings.mirror_settings"}}
{{$.locale.Tr "repo.settings.mirror_settings.docs" | Safe}}
{{if or .Repository.IsMirror .PushMirrors}}
{{end}}
{{$.locale.Tr "repo.settings.mirror_settings.mirrored_repository"}} | {{$.locale.Tr "repo.settings.mirror_settings.direction"}} | {{$.locale.Tr "repo.settings.mirror_settings.last_update"}} | |
---|---|---|---|
{{(MirrorRemoteAddress $.Context .Repository .Mirror.GetRemoteName false).Address}} | {{$.locale.Tr "repo.settings.mirror_settings.direction.pull"}} | {{DateTime "full" .Mirror.UpdatedUnix.FormatLong .Mirror.UpdatedUnix.AsTime}} | |
{{$address.Address}} | {{$.locale.Tr "repo.settings.mirror_settings.direction.push"}} | {{if .LastUpdateUnix}}{{DateTime "full" .LastUpdateUnix.FormatLong .LastUpdateUnix.AsTime}}{{else}}{{$.locale.Tr "never"}}{{end}} {{if .LastError}} {{$.locale.Tr "error"}} {{end}} |
|
{{$.locale.Tr "repo.settings.mirror_settings.push_mirror.none"}} | |||