summaryrefslogtreecommitdiffstats
path: root/templates/org/settings/hook_new.tmpl
blob: f89ee5f2b85f77a612704609a2c044490dfaf106 (plain)
1
2
3
4
5
6
7
{{template "org/settings/layout_head" (dict "ctxData" . "pageClass" "organization settings new webhook")}}
	<div class="org-setting-content">
		{{$CustomHeaderTitle := ctx.Locale.Tr "repo.settings.update_webhook"}}
		{{if .PageIsSettingsHooksNew}}{{$CustomHeaderTitle = ctx.Locale.Tr "repo.settings.add_webhook"}}{{end}}
		{{template "webhook/new" (dict "ctxData" . "CustomHeaderTitle" $CustomHeaderTitle)}}
	</div>
{{template "org/settings/layout_footer" .}}