{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}
{{template "base/head" .}}
{{.DefaultBranch}} |
{{.i18n.Tr "repo.branch.name"}} | {{if and $.IsWriter (not $.IsMirror)}} | {{.i18n.Tr "repo.branch.delete_head"}} | {{end}}|
---|---|---|---|
{{if .IsDeleted}}
{{$.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}} {{end}} |
{{if not .IsDeleted}}
|
{{if not .LatestPullRequest}} {{if not .IsDeleted}} {{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}}