aboutsummaryrefslogtreecommitdiff
path: root/internal/route/repo
diff options
context:
space:
mode:
authorRenzo Toma <renzo.toma@gmail.com>2022-04-04 11:40:34 +0200
committerGitHub <noreply@github.com>2022-04-04 17:40:34 +0800
commitefa572162f65200ef47362e11f151099c9d0badc (patch)
treeaaeabd0f4af2031351c6f2ee8f73b3f8015d3f05 /internal/route/repo
parent5c4db08968a179e9f547cbe9a9dcdf0e31c3ba2f (diff)
webhook: add missing `%s` URL value for webhook description (#6478)
Co-authored-by: Joe Chen <jc@unknwon.io>
Diffstat (limited to 'internal/route/repo')
-rw-r--r--internal/route/repo/webhook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/repo/webhook.go b/internal/route/repo/webhook.go
index c7e99db6..bed0d0bd 100644
--- a/internal/route/repo/webhook.go
+++ b/internal/route/repo/webhook.go
@@ -82,7 +82,7 @@ func Webhooks(c *context.Context, orCtx *orgRepoContext) {
var err error
var ws []*db.Webhook
if orCtx.RepoID > 0 {
- c.Data["Description"] = c.Tr("repo.settings.hooks_desc")
+ c.Data["Description"] = c.Tr("repo.settings.hooks_desc", "https://gogs.io/docs/features/webhook.html")
ws, err = db.GetWebhooksByRepoID(orCtx.RepoID)
} else {
c.Data["Description"] = c.Tr("org.settings.hooks_desc")