1
1
mirror of https://github.com/go-gitea/gitea synced 2024-07-07 02:25:50 +00:00
gitea/templates/repo/settings/webhook/new.tmpl
Kerwin Bryant 65588b732c
Extract common code to new template (#26903)
I noticed that the code of several new webhook pages is highly
repetitive, so I pulled out the common parts to a new template, unified
reference, unified maintenance

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2023-09-05 12:00:28 +00:00

6 lines
226 B
Handlebars

{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings new webhook")}}
<div class="repo-setting-content">
{{template "webhook/new" .}}
</div>
{{template "repo/settings/layout_footer" .}}