diff options
author | CaiCandong <50507092+CaiCandong@users.noreply.github.com> | 2023-10-01 17:26:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-01 09:26:28 +0000 |
commit | 6b65c41ebff6a59a266247bdbbce3d012cd05ffd (patch) | |
tree | e3e28ae5699c8346b74ff3c7f20f77b2daa3b691 /templates | |
parent | 4ab597f479265c3b66c94d40ad130ced5ae8b91f (diff) | |
download | gitea-6b65c41ebff6a59a266247bdbbce3d012cd05ffd.tar.gz gitea-6b65c41ebff6a59a266247bdbbce3d012cd05ffd.zip |
Fix missing ctx for GetRepoLink in dashboard (#27372)
As title
Fix #27369
Regression of #27265
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 876a245fe9..08b3377aab 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -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}} |