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