mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 12:22:11 +00:00
Merge default and system webhooks under one menu (#14244)
This commit is contained in:
parent
84b147c7f0
commit
6eee9f0f4e
12 changed files with 148 additions and 141 deletions
|
@ -173,6 +173,7 @@ func Webhooks(ctx *context.Context) {
|
|||
ctx.Data["Title"] = ctx.Tr("org.settings")
|
||||
ctx.Data["PageIsSettingsHooks"] = true
|
||||
ctx.Data["BaseLink"] = ctx.Org.OrgLink + "/settings/hooks"
|
||||
ctx.Data["BaseLinkNew"] = ctx.Org.OrgLink + "/settings/hooks"
|
||||
ctx.Data["Description"] = ctx.Tr("org.settings.hooks_desc")
|
||||
|
||||
ws, err := models.GetWebhooksByOrgID(ctx.Org.Organization.ID, models.ListOptions{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue