mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
65588b732c
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>
6 lines
226 B
Handlebars
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" .}}
|