{{range $commitI, $commit := .Graph.Commits}}
  • {{if $commit.OnlyRelation}} {{else}} {{template "repo/shabox" (dict "sha1" $commit.Commit.ID.String "commitLink" (printf "%s/commit/%s" $.RepoLink ($commit.Rev|PathEscape)) "signature" $commit.Commit.Signature "verification" $commit.Verification )}} {{RenderCommitMessage $.Context $commit.Subject ($.Repository.ComposeMetas ctx)}} {{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"}} {{svg "octicon-tag"}} {{.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}} {{$userName}} {{else}} {{ctx.AvatarUtils.AvatarByEmail $commit.Commit.Author.Email $userName}} {{$userName}} {{end}} {{DateUtils.FullTime $commit.Date}} {{end}}
  • {{end}}