diff options
author | Tim-Nicas Oelschläger <72873130+zokkis@users.noreply.github.com> | 2024-02-15 14:59:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 14:59:48 +0100 |
commit | 374e886f5113a996e1e927a60d1775e77262c364 (patch) | |
tree | 2ccc171cb3f4efc300e7ecab78dfd27627c08b73 /routers/web/repo/setting | |
parent | 542480a9b0d5cdb497dbfa99752d59fd016df0d6 (diff) | |
download | gitea-374e886f5113a996e1e927a60d1775e77262c364.tar.gz gitea-374e886f5113a996e1e927a60d1775e77262c364.zip |
Change webhook-type in create-view (#29114)
It's now possible to change webhook-type in create-view.
before:
![image](https://github.com/go-gitea/gitea/assets/72873130/9ee1b9fb-843b-4f28-b8d6-6361e5d184f1)
after:
![image](https://github.com/go-gitea/gitea/assets/72873130/9dbf058f-5912-43af-9acd-487271212f2d)
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'routers/web/repo/setting')
-rw-r--r-- | routers/web/repo/setting/webhook.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/repo/setting/webhook.go b/routers/web/repo/setting/webhook.go index ab3c70006f..c12d7e82a6 100644 --- a/routers/web/repo/setting/webhook.go +++ b/routers/web/repo/setting/webhook.go @@ -151,6 +151,7 @@ func WebhooksNew(ctx *context.Context) { } } ctx.Data["BaseLink"] = orCtx.LinkNew + ctx.Data["BaseLinkNew"] = orCtx.LinkNew ctx.HTML(http.StatusOK, orCtx.NewTemplate) } |