{{template "base/head" .}}
{{template "repo/header" .}}
{{.i18n.Tr "repo.branches.all"}}
{{range .Branches}}
{{if .IsProtected}} {{end}}{{.Name}} {{$timeSince := TimeSince .Commit.Committer.When $.Lang}} {{$.i18n.Tr "repo.branches.updated_by" $timeSince .Commit.Committer.Name | Safe}}
{{if and (eq $.BranchName .Name) $.IsRepositoryWriter}} {{$.i18n.Tr "repo.branches.change_default_branch"}} {{else if and $.IsRepositoryWriter $.AllowPullRequest}} {{$.i18n.Tr "repo.pulls.new"}} {{end}}
{{end}}
{{template "base/footer" .}}