aboutsummaryrefslogtreecommitdiffstats
path: root/templates/webhook/new.tmpl
blob: 8ef33df25b45b3814b70790e2639fd6cedb30238 (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
<h4 class="ui top attached header">
	{{.CustomHeaderTitle}}
	<div class="ui right type dropdown">
		<div class="text tw-flex tw-items-center">
			{{template "shared/webhook/icon" (dict "Size" 20 "HookType" .ctxData.HookType)}}
			{{ctx.Locale.Tr (print "repo.settings.web_hook_name_" .ctxData.HookType)}}
		</div>
		{{svg "octicon-triangle-down" 14 "dropdown icon"}}
		{{template "repo/settings/webhook/link_menu" .ctxData}}
	</div>
</h4>
<div class="ui attached segment">
	{{template "repo/settings/webhook/gitea" .ctxData}}
	{{template "repo/settings/webhook/gogs" .ctxData}}
	{{template "repo/settings/webhook/slack" .ctxData}}
	{{template "repo/settings/webhook/discord" .ctxData}}
	{{template "repo/settings/webhook/dingtalk" .ctxData}}
	{{template "repo/settings/webhook/telegram" .ctxData}}
	{{template "repo/settings/webhook/msteams" .ctxData}}
	{{template "repo/settings/webhook/feishu" .ctxData}}
	{{template "repo/settings/webhook/matrix" .ctxData}}
	{{template "repo/settings/webhook/wechatwork" .ctxData}}
	{{template "repo/settings/webhook/packagist" .ctxData}}
</div>
{{template "repo/settings/webhook/history" .ctxData}}