{{template "base/head" .}}
{{template "repo/header" .}}
{{.i18n.Tr "repo.settings.default_branch"}}
{{if .DefaultBranch.IsProtected}} {{end}}{{.DefaultBranch.Name}} {{$timeSince := TimeSince .DefaultBranch.Commit.Committer.When $.Lang}} {{$.i18n.Tr "repo.branches.updated_by" $timeSince .DefaultBranch.Commit.Committer.Name | Safe}}
{{if and $.IsRepositoryAdmin (not $.Repository.IsMirror)}} {{end}}
{{if .ActiveBranches}}
{{.i18n.Tr "repo.branches.active_branches"}}
{{range .ActiveBranches}}
{{if .IsProtected}} {{end}}{{.Name}} {{$timeSince := TimeSince .Commit.Committer.When $.Lang}} {{$.i18n.Tr "repo.branches.updated_by" $timeSince .Commit.Committer.Name | Safe}}
{{if and $.IsRepositoryWriter $.AllowPullRequest}} {{end}}
{{end}}
{{end}} {{if .StaleBranches}}
{{.i18n.Tr "repo.branches.stale_branches"}}
{{range .StaleBranches}}
{{if .IsProtected}} {{end}}{{.Name}} {{$timeSince := TimeSince .Commit.Committer.When $.Lang}} {{$.i18n.Tr "repo.branches.updated_by" $timeSince .Commit.Committer.Name | Safe}}
{{if and $.IsRepositoryWriter $.AllowPullRequest}} {{end}}
{{end}}
{{end}}
{{template "base/footer" .}}