{{template "base/head" .}}
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "repo.settings.basic_settings"}}

{{.CsrfTokenHtml}}
{{if not .Repository.IsFork}}
{{end}}
{{if .Repository.IsMirror}}

{{.i18n.Tr "repo.settings.mirror_settings"}}

{{.CsrfTokenHtml}}

{{.i18n.Tr "repo.mirror_address_desc"}}

{{.CsrfTokenHtml}}
{{.Mirror.Updated}}
{{end}}

{{.i18n.Tr "repo.settings.advanced_settings"}}

{{.CsrfTokenHtml}}

{{.i18n.Tr "repo.settings.external_wiki_url_desc"}}

{{.i18n.Tr "repo.settings.external_tracker_url_desc"}}

{{.i18n.Tr "repo.settings.tracker_url_format_desc" | Str2html}}

{{if .Repository.CanEnablePulls}}
{{end}}
{{if .IsRepositoryOwner}}

{{.i18n.Tr "repo.settings.danger_zone"}}

{{if .Repository.IsMirror}}
{{.i18n.Tr "repo.settings.convert"}}

{{.i18n.Tr "repo.settings.convert_desc"}}

{{end}}
{{.i18n.Tr "repo.settings.transfer"}}

{{.i18n.Tr "repo.settings.transfer_desc"}}

{{if .Repository.EnableWiki}}
{{.i18n.Tr "repo.settings.wiki_delete"}}

{{.i18n.Tr "repo.settings.wiki_delete_desc"}}

{{end}}
{{.i18n.Tr "repo.settings.delete"}}

{{.i18n.Tr "repo.settings.delete_desc"}}

{{end}}
{{if .IsRepositoryOwner}} {{if .Repository.IsMirror}} {{end}} {{if .Repository.EnableWiki}} {{end}} {{end}} {{template "base/footer" .}}