mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix missing ctx for GetRepoLink in dashboard (#27372)
As title Fix #27369 Regression of #27265
This commit is contained in:
		@@ -72,7 +72,7 @@
 | 
				
			|||||||
						{{ctx.Locale.Tr "action.comment_pull" ((printf "%s/pulls/%s" (.GetRepoLink ctx) $index) |Escape) $index ((.ShortRepoPath ctx)|Escape) | Str2html}}
 | 
											{{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"}}
 | 
										{{else if .GetOpType.InActions "publish_release"}}
 | 
				
			||||||
						{{$linkText := .Content | RenderEmoji $.Context}}
 | 
											{{$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"}}
 | 
										{{else if .GetOpType.InActions "review_dismissed"}}
 | 
				
			||||||
						{{$index := index .GetIssueInfos 0}}
 | 
											{{$index := index .GetIssueInfos 0}}
 | 
				
			||||||
						{{$reviewer := index .GetIssueInfos 1}}
 | 
											{{$reviewer := index .GetIssueInfos 1}}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user