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 83
83
{{if .GetOpType.InActions "commit_repo" "mirror_sync_push"}}
84
84
{{$push := ActionContent2Commits .}}
85
85
{{$repoLink := (.GetRepoLink ctx)}}
86
+ {{$repo := .Repo}}
86
87
<div class="gt-df gt-fc gt-gap-2">
87
88
{{range $push.Commits}}
88
89
{{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}}
89
90
<div class="flex-text-block">
90
91
<img class="ui avatar" src="{{$push.AvatarLink $.Context .AuthorEmail}}" title="{{.AuthorName}}" width="16" height="16">
91
92
<a class="ui sha label" href="{{$commitLink}}">{{ShortSha .Sha1}}</a>
92
93
<span class="text truncate">
93
- {{RenderCommitMessage $.Context .Message $repoLink ($.ComposeMetas ctx)}}
94
+ {{RenderCommitMessage $.Context .Message $repoLink ($repo .ComposeMetas ctx)}}
94
95
</span>
95
96
</div>
96
97
{{end}}
You can’t perform that action at this time.
0 commit comments