parent
7812ce86dc
commit
9b0743ae33
5 changed files with 32 additions and 46 deletions
|
@ -1,5 +1,7 @@
|
|||
{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings new webhook")}}
|
||||
<div class="repo-setting-content">
|
||||
{{template "webhook/new" .}}
|
||||
{{$CustomHeaderTitle := .locale.Tr "repo.settings.update_webhook"}}
|
||||
{{if .PageIsSettingsHooksNew}}{{$CustomHeaderTitle = .locale.Tr "repo.settings.add_webhook"}}{{end}}
|
||||
{{template "webhook/new" (dict "ctxData" . "CustomHeaderTitle" $CustomHeaderTitle)}}
|
||||
</div>
|
||||
{{template "repo/settings/layout_footer" .}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue