{{$commitRepoLink := $.RepoLink}}{{if $.CommitRepoLink}}{{$commitRepoLink = $.CommitRepoLink}}{{end}} {{range .Commits}} {{if .Committer}} {{else}} {{end}} {{end}}
{{.locale.Tr "repo.commits.author"}} SHA1 {{.locale.Tr "repo.commits.message"}} {{.locale.Tr "repo.commits.date"}}
{{$userName := .Author.Name}} {{if .User}} {{if .User.FullName}} {{$userName = .User.FullName}} {{end}} {{avatar $.Context .User 28 "gt-mr-2"}}{{$userName}} {{else}} {{avatarByEmail $.Context .Author.Email .Author.Name 28 "gt-mr-2"}} {{$userName}} {{end}} {{$class := "ui sha label"}} {{if .Signature}} {{$class = (printf "%s%s" $class " isSigned")}} {{if .Verification.Verified}} {{if eq .Verification.TrustStatus "trusted"}} {{$class = (printf "%s%s" $class " isVerified")}} {{else if eq .Verification.TrustStatus "untrusted"}} {{$class = (printf "%s%s" $class " isVerifiedUntrusted")}} {{else}} {{$class = (printf "%s%s" $class " isVerifiedUnmatched")}} {{end}} {{else if .Verification.Warning}} {{$class = (printf "%s%s" $class " isWarning")}} {{end}} {{end}} {{if $.PageIsWiki}} {{else if $.Reponame}} {{else}} {{end}} {{ShortSha .ID.String}} {{if .Signature}} {{template "repo/shabox_badge" dict "root" $ "verification" .Verification}} {{end}} {{if $.PageIsWiki}} {{else if $.Reponame}} {{else}} {{end}} {{if $.PageIsWiki}} {{.Summary | RenderEmoji $.Context}} {{else}} {{$commitLink:= printf "%s/commit/%s" $commitRepoLink (PathEscape .ID.String)}} {{RenderCommitMessageLinkSubject $.Context .Message $commitRepoLink $commitLink $.Repository.ComposeMetas}} {{end}} {{if IsMultilineCommitMessage .Message}} {{end}} {{template "repo/commit_statuses" dict "Status" .Status "Statuses" .Statuses "root" $}} {{if IsMultilineCommitMessage .Message}}
{{RenderCommitBody $.Context .Message $commitRepoLink $.Repository.ComposeMetas}}
{{end}}
{{TimeSince .Committer.When $.locale}}{{TimeSince .Author.When $.locale}}