{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}
{{template "base/head" .}}
{{range .Branches}} {{if eq .Name $.DefaultBranch}} {{if .IsProtected}} {{end}} {{.Name}} {{end}} {{end}} |
{{.i18n.Tr "repo.branch.name"}} | {{if and $.IsWriter (not $.IsMirror) (not $.Repository.IsArchived)}} | {{.i18n.Tr "repo.branch.delete_head"}} | {{end}}|
---|---|---|---|
{{if .IsDeleted}}
{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}} {{else}} {{if .IsProtected}} {{end}} {{.Name}}{{$.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) (not $.Repository.IsArchived)}}{{if and .IsDeleted (not .IsProtected)}} {{else if (not .IsProtected)}} {{end}} | {{end}}
{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}