We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b63d9 commit fb74fe9Copy full SHA for fb74fe9
templates/user/dashboard/feeds.tmpl
@@ -83,14 +83,15 @@
83
{{if .GetOpType.InActions "commit_repo" "mirror_sync_push"}}
84
{{$push := ActionContent2Commits .}}
85
{{$repoLink := (.GetRepoLink ctx)}}
86
+ {{$repo := .Repo}}
87
<div class="gt-df gt-fc gt-gap-2">
88
{{range $push.Commits}}
89
{{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}}
90
<div class="flex-text-block">
91
<img class="ui avatar" src="{{$push.AvatarLink $.Context .AuthorEmail}}" title="{{.AuthorName}}" width="16" height="16">
92
<a class="ui sha label" href="{{$commitLink}}">{{ShortSha .Sha1}}</a>
93
<span class="text truncate">
- {{RenderCommitMessage $.Context .Message $repoLink ($.ComposeMetas ctx)}}
94
+ {{RenderCommitMessage $.Context .Message $repoLink ($repo.ComposeMetas ctx)}}
95
</span>
96
</div>
97
{{end}}
0 commit comments