{{ctx.Locale.Tr "repo.settings.basic_settings"}}
{{ctx.Locale.Tr "repo.settings.federation_settings"}}
{{ctx.Locale.Tr "repo.settings.mirror_settings"}}
{{if .Repository.IsArchived}}
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs.pull_mirror_instructions"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.doc_link_pull_section"}}
{{else if $onlyNewPushMirrorsEnabled}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.disabled_pull_mirror.instructions"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.more_information_if_disabled"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{else if $onlyNewPullMirrorsEnabled}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.instructions"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.pull_mirror_warning"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.more_information_if_disabled"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.info"}} {{if $existingPushMirror}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}} {{end}} {{else}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.no_new_mirrors"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}}
{{end}} {{if .Repository.IsMirror}}
{{end}}{{/* end if .Repository.IsMirror */}}
{{end}}
{{end}}
{{else}}
{{if $newMirrorsEntirelyEnabled}}
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs"}}
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs.pull_mirror_instructions"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.doc_link_pull_section"}}
{{else if $onlyNewPushMirrorsEnabled}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.disabled_pull_mirror.instructions"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.more_information_if_disabled"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{else if $onlyNewPullMirrorsEnabled}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.instructions"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.pull_mirror_warning"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.more_information_if_disabled"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.info"}} {{if $existingPushMirror}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}} {{end}} {{else}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.no_new_mirrors"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}}
{{end}} {{if .Repository.IsMirror}}
{{ctx.Locale.Tr "repo.settings.mirror_settings.mirrored_repository"}} | {{ctx.Locale.Tr "repo.settings.mirror_settings.direction"}} | {{ctx.Locale.Tr "repo.settings.mirror_settings.last_update"}} | {{ctx.Locale.Tr "repo.mirror_public_key"}} | |
---|---|---|---|---|
{{ctx.Locale.Tr "repo.settings.mirror_settings.direction.pull"}}: {{ctx.Locale.Tr "error.occurred"}}
|
||||
{{.PullMirror.RemoteAddress}} | {{ctx.Locale.Tr "repo.settings.mirror_settings.direction.pull"}} | {{ctx.DateUtils.FullTime .PullMirror.UpdatedUnix}} | ||
{{ctx.Locale.Tr "repo.settings.mirror_settings.pushed_repository"}} | {{ctx.Locale.Tr "repo.settings.mirror_settings.direction"}} | {{ctx.Locale.Tr "repo.settings.mirror_settings.last_update"}} | {{ctx.Locale.Tr "repo.mirror_public_key"}} | |
---|---|---|---|---|
{{.RemoteAddress}} | {{ctx.Locale.Tr "repo.settings.mirror_settings.direction.push"}} | {{if .LastUpdateUnix}}{{ctx.DateUtils.FullTime .LastUpdateUnix}}{{else}}{{ctx.Locale.Tr "never"}}{{end}} {{if .LastError}} {{ctx.Locale.Tr "error"}} {{end}} |
{{if not (eq (len .GetPublicKey) 0)}}{{ctx.Locale.Tr "repo.settings.mirror_settings.push_mirror.copy_public_key"}}{{else}}{{ctx.Locale.Tr "repo.settings.mirror_settings.push_mirror.none_ssh"}}{{end}} | |
{{ctx.Locale.Tr "repo.settings.mirror_settings.push_mirror.none"}} | ||||
{{ctx.Locale.Tr "repo.settings.signing_settings"}}
{{ctx.Locale.Tr "repo.settings.admin_settings"}}
{{ctx.Locale.Tr "repo.settings.danger_zone"}}
{{if .Repository.IsMirror}}
{{end}}
{{if and .Repository.IsFork .Repository.Owner.CanCreateRepo}}
{{end}}
{{if .Permission.CanRead $.UnitTypeWiki}}
{{if ne $.Repository.GetWikiBranchName .DefaultWikiBranchName}}
{{end}}
{{end}}
{{if not .Repository.IsMirror}}
{{end}}
{{ctx.Locale.Tr "repo.settings.convert"}}
{{ctx.Locale.Tr "repo.settings.convert_desc"}}
{{ctx.Locale.Tr "repo.settings.convert_fork"}}
{{ctx.Locale.Tr "repo.settings.convert_fork_desc"}}
{{ctx.Locale.Tr "repo.settings.transfer.title"}}
{{if .RepoTransfer}}
{{ctx.Locale.Tr "repo.settings.transfer_started" .RepoTransfer.Recipient.DisplayName}}
{{else}}
{{ctx.Locale.Tr "repo.settings.transfer_desc"}}
{{end}}
{{if .RepoTransfer}}
{{else}}
{{end}}
{{ctx.Locale.Tr "repo.settings.wiki_rename_branch_main"}}
{{ctx.Locale.Tr "repo.settings.wiki_rename_branch_main_desc" .DefaultWikiBranchName}}
{{ctx.Locale.Tr "repo.settings.wiki_delete"}}
{{ctx.Locale.Tr "repo.settings.wiki_delete_desc"}}
{{ctx.Locale.Tr "repo.settings.delete"}}
{{ctx.Locale.Tr "repo.settings.delete_desc"}}
{{if .Repository.IsArchived}}
{{ctx.Locale.Tr "repo.settings.unarchive.header"}}
{{ctx.Locale.Tr "repo.settings.unarchive.text"}}
{{else}}
{{ctx.Locale.Tr "repo.settings.archive.header"}}
{{ctx.Locale.Tr "repo.settings.archive.text"}}
{{end}}