mirror of
https://github.com/gogs/gogs.git
synced 2025-05-26 01:11:53 +00:00
webhook: add missing %s
URL value for webhook description (#6478)
Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
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…
x
Reference in New Issue
Block a user