mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	Signed-off-by: Elouan Martinet <exa@elou.world>
This commit is contained in:
		
				
					committed by
					
						
						Bo-Yi Wu
					
				
			
			
				
	
			
			
			
						parent
						
							daf08aeacd
						
					
				
				
					commit
					5057c6b43f
				
			@@ -33,7 +33,7 @@ func Webhooks(ctx *context.Context) {
 | 
				
			|||||||
	ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
 | 
						ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
 | 
				
			||||||
	ctx.Data["PageIsSettingsHooks"] = true
 | 
						ctx.Data["PageIsSettingsHooks"] = true
 | 
				
			||||||
	ctx.Data["BaseLink"] = ctx.Repo.RepoLink
 | 
						ctx.Data["BaseLink"] = ctx.Repo.RepoLink
 | 
				
			||||||
	ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/code.gitea.io/sdk/gitea")
 | 
						ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://docs.gitea.io/en-us/webhooks/")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
 | 
						ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user