Skip to content

Commit

Permalink
Fix missing ctx for GetRepoLink in dashboard (go-gitea#27372)
Browse files Browse the repository at this point in the history
As title
Fix go-gitea#27369
Regression of go-gitea#27265
  • Loading branch information
CaiCandong authored and GiteaBot committed Oct 1, 2023
1 parent de38710 commit e5b1bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/user/dashboard/feeds.tmpl
Expand Up @@ -72,7 +72,7 @@
{{ctx.Locale.Tr "action.comment_pull" ((printf "%s/pulls/%s" (.GetRepoLink ctx) $index) |Escape) $index ((.ShortRepoPath ctx)|Escape) | Str2html}}
{{else if .GetOpType.InActions "publish_release"}}
{{$linkText := .Content | RenderEmoji $.Context}}
{{ctx.Locale.Tr "action.publish_release" ((.GetRepoLink ctx)|Escape) ((printf "%s/releases/tag/%s" .GetRepoLink .GetTag)|Escape) ((.ShortRepoPath ctx)|Escape) $linkText | Str2html}}
{{ctx.Locale.Tr "action.publish_release" ((.GetRepoLink ctx)|Escape) ((printf "%s/releases/tag/%s" (.GetRepoLink ctx) .GetTag)|Escape) ((.ShortRepoPath ctx)|Escape) $linkText | Str2html}}
{{else if .GetOpType.InActions "review_dismissed"}}
{{$index := index .GetIssueInfos 0}}
{{$reviewer := index .GetIssueInfos 1}}
Expand Down

0 comments on commit e5b1bda

Please sign in to comment.