diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index d84298d843..13897f088c 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -34,21 +34,11 @@
{{.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}} @@ -60,7 +50,7 @@{{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}} @@ -93,7 +83,7 @@ {{end}} | {{if and $.IsWriter (not $.IsMirror)}} -+ | {{if .IsProtected}} {{else if .IsDeleted}} |