0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 21:31:51 +01:00

Fix guide link for webhooks in repository settings (#3291) (#3292)

Signed-off-by: Elouan Martinet <exa@elou.world>
This commit is contained in:
Elouan Martinet 2018-01-03 16:50:09 +01:00 committed by Bo-Yi Wu
parent daf08aeacd
commit 5057c6b43f

View file

@ -33,7 +33,7 @@ func Webhooks(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
ctx.Data["PageIsSettingsHooks"] = true
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)
if err != nil {