2023-05-02 21:58:18 +02:00
|
|
|
{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings new webhook")}}
|
2023-04-23 12:21:21 +02:00
|
|
|
<div class="repo-setting-content">
|
2023-09-25 15:15:51 +02:00
|
|
|
{{$CustomHeaderTitle := ctx.Locale.Tr "repo.settings.update_webhook"}}
|
|
|
|
{{if .PageIsSettingsHooksNew}}{{$CustomHeaderTitle = ctx.Locale.Tr "repo.settings.add_webhook"}}{{end}}
|
2023-09-06 12:11:06 +02:00
|
|
|
{{template "webhook/new" (dict "ctxData" . "CustomHeaderTitle" $CustomHeaderTitle)}}
|
2014-08-10 00:40:10 +02:00
|
|
|
</div>
|
2023-04-23 12:21:21 +02:00
|
|
|
{{template "repo/settings/layout_footer" .}}
|