mirror of https://github.com/gogs/gogs.git
webhook: add missing `%s` URL value for webhook description (#6478)
Co-authored-by: Joe Chen <jc@unknwon.io>pull/6893/head
parent
5c4db08968
commit
efa572162f
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue