loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix template bug (#27581)

Regression from #27414

authored by

Lunny Xiao and committed by
GitHub
fb74fe99 73b63d93

+2 -1
+2 -1
templates/user/dashboard/feeds.tmpl
··· 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}} ··· 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}}