{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}
{{template "base/head" .}}
{{range $branch := .Branches}}
{{if eq .Name $.DefaultBranch}}
{{if .IsProtected}}
{{end}}
{{$.DefaultBranch}}
{{ShortSha .Commit.ID.String}} · · {{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}} {{end}} {{end}} |
{{if .IsDeleted}}
{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}} {{else}} {{if .IsProtected}} {{end}} {{.Name}}{{ShortSha .Commit.ID.String}} · · {{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}} {{end}} |
{{if not .IsDeleted}}
|
{{if not .LatestPullRequest}} {{if and (not .IsDeleted) $.AllowsPulls}} {{end}} {{else}} #{{.LatestPullRequest.Issue.Index}} {{if .LatestPullRequest.HasMerged}} {{$.i18n.Tr "repo.pulls.merged"}} {{else if .LatestPullRequest.Issue.IsClosed}} {{$.i18n.Tr "repo.issues.closed_title"}} {{else}} {{$.i18n.Tr "repo.issues.open_title"}} {{end}} {{end}} | {{if and $.IsWriter (not $.IsMirror)}}{{if .IsProtected}} {{else if .IsDeleted}} {{else}} {{end}} | {{end}}
{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}