2023-04-23 13:21:21 +03:00
|
|
|
{{template "org/settings/layout_head" (dict "ctxData" . "pageClass" "organization settings new webhook")}}
|
2023-09-05 15:00:28 +03:00
|
|
|
<div class="org-setting-content">
|
2023-09-25 11:56:50 +03:00
|
|
|
{{$CustomHeaderTitle := ctx.Locale.Tr "repo.settings.update_webhook"}}
|
|
|
|
{{if .PageIsSettingsHooksNew}}{{$CustomHeaderTitle = ctx.Locale.Tr "repo.settings.add_webhook"}}{{end}}
|
2023-09-06 13:11:06 +03:00
|
|
|
{{template "webhook/new" (dict "ctxData" . "CustomHeaderTitle" $CustomHeaderTitle)}}
|
2023-09-05 15:00:28 +03:00
|
|
|
</div>
|
2023-04-23 13:21:21 +03:00
|
|
|
{{template "org/settings/layout_footer" .}}
|