{{.locale.Tr "repo.settings.basic_settings"}}
{{.locale.Tr "repo.settings.mirror_settings"}}
{{if $newMirrorsEntirelyEnabled}}
{{$.locale.Tr "repo.settings.mirror_settings.docs"}}
{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{$.locale.Tr "repo.settings.mirror_settings.docs.pull_mirror_instructions"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{else if $onlyNewPushMirrorsEnabled}} {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_pull_mirror.instructions"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{else if $onlyNewPullMirrorsEnabled}} {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.instructions"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.pull_mirror_warning"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.info"}} {{if $existingPushMirror}} {{$.locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}} {{end}} {{else}} {{$.locale.Tr "repo.settings.mirror_settings.docs.no_new_mirrors"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}}
{{end}}
{{if $existingPushMirror}}
{{end}}
{{$.locale.Tr "repo.settings.mirror_settings.docs.pull_mirror_instructions"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{else if $onlyNewPushMirrorsEnabled}} {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_pull_mirror.instructions"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{else if $onlyNewPullMirrorsEnabled}} {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.instructions"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.pull_mirror_warning"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.info"}} {{if $existingPushMirror}} {{$.locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}} {{end}} {{else}} {{$.locale.Tr "repo.settings.mirror_settings.docs.no_new_mirrors"}} {{$.locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}}
{{end}}
{{$.locale.Tr "repo.settings.mirror_settings.mirrored_repository"}} | {{$.locale.Tr "repo.settings.mirror_settings.direction"}} | {{$.locale.Tr "repo.settings.mirror_settings.last_update"}} | |
---|---|---|---|
{{$.locale.Tr "repo.settings.mirror_settings.direction.pull"}}: {{$.locale.Tr "error.occurred"}} | |||
{{(MirrorRemoteAddress $.Context .Repository .PullMirror.GetRemoteName false).Address}} | {{$.locale.Tr "repo.settings.mirror_settings.direction.pull"}} | {{DateTime "full" .PullMirror.UpdatedUnix}} | |
{{$address.Address}} | {{$.locale.Tr "repo.settings.mirror_settings.direction.push"}} | {{if .LastUpdateUnix}}{{DateTime "full" .LastUpdateUnix}}{{else}}{{$.locale.Tr "never"}}{{end}} {{if .LastError}} {{$.locale.Tr "error"}} {{end}} |
|
{{$.locale.Tr "repo.settings.mirror_settings.push_mirror.none"}} | |||