mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 18:33:00 +02:00
Merge default and system webhooks under one menu (#14244)
This commit is contained in:
1 parent
84b147c7f0
commit
6eee9f0f4e
12 files changed
+148
-141
No files matched your search
@@ -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{})
|
||||
|
||||
Reference in new issue
Block a user