{{template "base/alert" .}}
{{if .MirrorsEnabled}}
{{.i18n.Tr "repo.settings.basic_settings"}}
{{.i18n.Tr "repo.settings.mirror_settings"}}
{{$.i18n.Tr "repo.settings.mirror_settings.docs" | Safe}}
{{if or .Repository.IsMirror .PushMirrors}}
{{end}}
{{$.i18n.Tr "repo.settings.mirror_settings.mirrored_repository"}} | {{$.i18n.Tr "repo.settings.mirror_settings.direction"}} | {{$.i18n.Tr "repo.settings.mirror_settings.last_update"}} | |
---|---|---|---|
{{(MirrorRemoteAddress $.Context .Mirror).Address}} | {{$.i18n.Tr "repo.settings.mirror_settings.direction.pull"}} | {{.Mirror.UpdatedUnix.AsTime}} | |
{{$address.Address}} | {{$.i18n.Tr "repo.settings.mirror_settings.direction.push"}} | {{if .LastUpdateUnix}}{{.LastUpdateUnix.AsTime}}{{else}}{{$.i18n.Tr "never"}}{{end}} {{if .LastError}} {{$.i18n.Tr "error"}} {{end}} |
|
{{$.i18n.Tr "repo.settings.mirror_settings.push_mirror.none"}} | |||