diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index a1ac3d8848..da796fc275 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -83,6 +83,7 @@ {{if .GetOpType.InActions "commit_repo" "mirror_sync_push"}} {{$push := ActionContent2Commits .}} {{$repoLink := (.GetRepoLink ctx)}} + {{$repo := .Repo}}
{{range $push.Commits}} {{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}} @@ -90,7 +91,7 @@ {{ShortSha .Sha1}} - {{RenderCommitMessage $.Context .Message $.ComposeMetas}} + {{RenderCommitMessage $.Context .Message $repo.ComposeMetas}}
{{end}}