aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/webhook/new.tmpl
blob: 1b0474222171cbffe82f2e81269de86509312bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings new webhook")}}
	<div class="repo-setting-content">
		<h4 class="ui top attached header">
			{{if .PageIsSettingsHooksNew}}{{.locale.Tr "repo.settings.add_webhook"}}{{else}}{{.locale.Tr "repo.settings.update_webhook"}}{{end}}
			<div class="ui right">
				{{template "shared/webhook/icon" .}}
			</div>
		</h4>
		<div class="ui attached segment">
			{{template "repo/settings/webhook/gitea" .}}
			{{template "repo/settings/webhook/gogs" .}}
			{{template "repo/settings/webhook/slack" .}}
			{{template "repo/settings/webhook/discord" .}}
			{{template "repo/settings/webhook/dingtalk" .}}
			{{template "repo/settings/webhook/telegram" .}}
			{{template "repo/settings/webhook/msteams" .}}
			{{template "repo/settings/webhook/feishu" .}}
			{{template "repo/settings/webhook/matrix" .}}
			{{template "repo/settings/webhook/wechatwork" .}}
			{{template "repo/settings/webhook/packagist" .}}
		</div>

		{{template "repo/settings/webhook/history" .}}
	</div>
{{template "repo/settings/layout_footer" .}}