{{template "base/alert" .}}
{{if .Repository.IsArchived}}
{{range .ProtectedBranches}}
{{if $.Repository.CanCreateBranch}}
{{end}}
{{end}}
{{else}}
{{.locale.Tr "repo.default_branch"}}
{{.locale.Tr "repo.settings.default_branch_desc"}}
{{.locale.Tr "repo.settings.protected_branch"}}
{{.RuleName}} |
{{$.locale.Tr "repo.settings.edit_protected_branch"}} |
{{.locale.Tr "repo.settings.no_protected_branch"}} |