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