{{range $commitI, $commit := .Graph.Commits}}
  • {{if $commit.OnlyRelation}} {{else}} {{template "repo/commit_sign_badge" dict "Commit" $commit.Commit "CommitBaseLink" (print $.RepoLink "/commit") "CommitSignVerification" $commit.Verification}} {{ctx.RenderUtils.RenderCommitMessage $commit.Subject $.Repository}} {{range $commit.Refs}} {{$refGroup := .RefGroup}} {{if eq $refGroup "pull"}} {{if or (not $.HidePRRefs) (SliceUtils.Contains $.SelectedBranches .Name)}} {{svg "octicon-git-pull-request"}} #{{.ShortName}} {{end}} {{else if eq $refGroup "tags"}} {{- template "repo/tag/name" dict "RepoLink" $.Repository.Link "TagName" .ShortName -}} {{else if eq $refGroup "remotes"}} {{svg "octicon-cross-reference"}} {{.ShortName}} {{else if eq $refGroup "heads"}} {{svg "octicon-git-branch"}} {{.ShortName}} {{else}} {{end}} {{end}} {{$userName := $commit.Commit.Author.Name}} {{if $commit.User}} {{if and $commit.User.FullName DefaultShowFullName}} {{$userName = $commit.User.FullName}} {{end}} {{ctx.AvatarUtils.Avatar $commit.User 18}} {{$userName}} {{else}} {{ctx.AvatarUtils.AvatarByEmail $commit.Commit.Author.Email $userName 18}} {{$userName}} {{end}} {{DateUtils.FullTime $commit.Date}} {{end}}
  • {{end}}