aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/hooks.tmpl
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 /templates/admin/hooks.tmpl
parent84b147c7f0c2575723d3471783cb24078232fe7a (diff)
downloadgitea-6eee9f0f4e56e620b2eacfc9c2b59c6448308290.tar.gz
gitea-6eee9f0f4e56e620b2eacfc9c2b59c6448308290.zip
Merge default and system webhooks under one menu (#14244)
Diffstat (limited to 'templates/admin/hooks.tmpl')
-rw-r--r--templates/admin/hooks.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/admin/hooks.tmpl b/templates/admin/hooks.tmpl
index c09c6fcafe..a23cff4342 100644
--- a/templates/admin/hooks.tmpl
+++ b/templates/admin/hooks.tmpl
@@ -2,7 +2,12 @@
<div class="page-content admin hooks">
{{template "admin/navbar" .}}
<div class="ui container">
- {{template "repo/settings/webhook/list" .}}
+ {{template "base/alert" .}}
+
+ {{template "repo/settings/webhook/base_list" .SystemWebhooks}}
+ {{template "repo/settings/webhook/base_list" .DefaultWebhooks}}
+
+ {{template "repo/settings/webhook/delete_modal" .}}
</div>
</div>
{{template "base/footer" .}}