1
0
mirror of https://github.com/gogs/gogs.git synced 2025-05-31 11:42:13 +00:00

webhook: add missing %s URL value for webhook description ()

Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
Renzo Toma 2022-04-04 11:40:34 +02:00 committed by GitHub
parent 5c4db08968
commit efa572162f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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")