summaryrefslogtreecommitdiffstats
path: root/routers/org
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2021-01-15 01:24:03 +0200
committerGitHub <noreply@github.com>2021-01-15 01:24:03 +0200
commit6eee9f0f4e56e620b2eacfc9c2b59c6448308290 (patch)
tree8aa10ddcc6c7ae19ce0e6f28edff93a16949058a /routers/org
parent84b147c7f0c2575723d3471783cb24078232fe7a (diff)
downloadgitea-6eee9f0f4e56e620b2eacfc9c2b59c6448308290.tar.gz
gitea-6eee9f0f4e56e620b2eacfc9c2b59c6448308290.zip
Merge default and system webhooks under one menu (#14244)
Diffstat (limited to 'routers/org')
-rw-r--r--routers/org/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/org/setting.go b/routers/org/setting.go
index 454714c7eb..05075ca820 100644
--- a/routers/org/setting.go
+++ b/routers/org/setting.go
@@ -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{})