{{template "base/head" .}}
{{template "repo/header" .}}
{{template "base/alert" .}} {{template "repo/sub_menu" .}}

{{.i18n.Tr "repo.default_branch"}}

{{.DefaultBranch}}
{{if gt (len .Branches) 1}}

{{.i18n.Tr "repo.branches"}}

{{if and $.IsWriter (not $.IsMirror)}} {{end}} {{range $branch := .Branches}} {{if ne .Name $.DefaultBranch}} {{end}} {{if and $.IsWriter (not $.IsMirror)}} {{end}} {{end}} {{end}}
{{.i18n.Tr "repo.branch.name"}}{{.i18n.Tr "repo.branch.delete_head"}}
{{if .IsDeleted}} {{.Name}}

{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}}

{{else}} {{.Name}}

{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}

{{if .IsProtected}} {{else if .IsDeleted}} {{else}} {{end}}
{{end}}
{{template "base/footer" .}}