{{template "base/alert" .}}
{{if or .Repository.IsMirror (not .DisabledMirrors)}}
{{.i18n.Tr "repo.settings.basic_settings"}}
{{.i18n.Tr "repo.settings.mirror_settings"}}
{{$.i18n.Tr "repo.settings.mirror_settings.docs" | Safe}}
{{if or .Repository.IsMirror .Repository.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 .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"}} | |||