Browse Source

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

Signed-off-by: Elouan Martinet <exa@elou.world>
tags/v1.4.0-rc1
Elouan Martinet Bo-Yi Wu 8 years ago
parent
commit
16448c0ca1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/webhook.go

+ 1
- 1
routers/repo/webhook.go 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 {


Loading…
Cancel
Save