{{template "base/alert" .}}
{{if .MirrorsEnabled}}
{{.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"}} | {{template "shared/datetime/full" (dict "Datetime" .Mirror.UpdatedUnix.FormatLong "Fallback" .Mirror.UpdatedUnix.AsTime)}} | |
{{$address.Address}} | {{$.locale.Tr "repo.settings.mirror_settings.direction.push"}} | {{if .LastUpdateUnix}}{{template "shared/datetime/full" (dict "Datetime" .LastUpdateUnix.FormatLong "Fallback" .LastUpdateUnix.AsTime)}}{{else}}{{$.locale.Tr "never"}}{{end}} {{if .LastError}} {{$.locale.Tr "error"}} {{end}} |
|
{{$.locale.Tr "repo.settings.mirror_settings.push_mirror.none"}} | |||