File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 8383 {{if .GetOpType.InActions "commit_repo" "mirror_sync_push"}}
8484 {{$push := ActionContent2Commits .}}
8585 {{$repoLink := (.GetRepoLink ctx)}}
86+ {{$repo := .Repo}}
8687 <div class="gt-df gt-fc gt-gap-2">
8788 {{range $push.Commits}}
8889 {{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}}
8990 <div class="flex-text-block">
9091 <img class="ui avatar" src="{{$push.AvatarLink $.Context .AuthorEmail}}" title="{{.AuthorName}}" width="16" height="16">
9192 <a class="ui sha label" href="{{$commitLink}}">{{ShortSha .Sha1}}</a>
9293 <span class="text truncate">
93- {{RenderCommitMessage $.Context .Message $.ComposeMetas}}
94+ {{RenderCommitMessage $.Context .Message $repo .ComposeMetas}}
9495 </span>
9596 </div>
9697 {{end}}
You can’t perform that action at this time.
0 commit comments