forked from forgejo/forgejo
Implement Default Webhooks (#4299)
Partially implement #770. Add "Default Webhooks" page in site admin UI. Persist to the existing webhooks table, but store with RepoID=0 and OrgID=0. Upon repo creation, copy the set of default webhooks into the new repo.
This commit is contained in:
parent
cac9e6e760
commit
b34996a629
18 changed files with 252 additions and 39 deletions
8
templates/admin/hooks.tmpl
Normal file
8
templates/admin/hooks.tmpl
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{template "base/head" .}}
|
||||
<div class="admin hooks">
|
||||
{{template "admin/navbar" .}}
|
||||
<div class="ui container">
|
||||
{{template "repo/settings/webhook/list" .}}
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Loading…
Add table
Add a link
Reference in a new issue