{{if or .PageIsCommits (gt .CommitCount 0)}} {{.CommitCount}} {{.i18n.Tr "repo.commits.commits"}} {{if .Branch}}({{.Branch}}){{end}} {{else}} {{.i18n.Tr "repo.commits.no_commits" $.BaseBranch $.HeadBranch }} {{if .Branch}}({{.Branch}}){{end}} {{end}}

{{if and .Commits (gt .CommitCount 0)}}
{{ $r:= List .Commits}} {{range $r}} {{end}}
{{.i18n.Tr "repo.commits.author"}} SHA1 {{.i18n.Tr "repo.commits.message"}} {{.i18n.Tr "repo.commits.date"}}
{{if .User}} {{if .User.FullName}}   {{.User.FullName}} {{else}}   {{.Author.Name}} {{end}} {{else}}   {{.Author.Name}} {{end}} {{ShortSha .ID.String}} {{if .Signature}}
{{if .Verification.Verified}} {{else}} {{end}}
{{end}}
{{.Summary}} {{if IsMultilineCommitMessage .Message}} {{end}} {{template "repo/commit_status" .Status}} {{if IsMultilineCommitMessage .Message}} {{end}} {{TimeSince .Author.When $.Lang}}
{{end}} {{template "base/paginate" .}}