{{range $commitI, $commit := .Graph.Commits}}
  • {{if $commit.OnlyRelation}} {{else}} {{/* every field must be in a span to get correctly styled */}} {{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 "AdditionalClasses" "tag-label" "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}} {{ctx.RenderUtils.AvatarStackWithNames $commit.AvatarStackData}} {{DateUtils.FullTime $commit.Date}} {{end}}
  • {{end}}