mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-04 05:34:53 +00:00
f65e01226a
Adds `Select All` and `Deselect All` buttons to the custom events section of the webhook form. This is useful when you need all events but one. - The buttons toggle every event checkbox and keep the unsaved-changes prompt working - Fix the "Trigger On" radio spacing by removing a leftover Fomantic checkbox margin Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
26 lines
1.2 KiB
Handlebars
26 lines
1.2 KiB
Handlebars
<h4 class="ui top attached header">
|
|
{{.CustomHeaderTitle}}
|
|
<div class="ui right type dropdown">
|
|
<div class="text flex-text-inline">
|
|
{{template "shared/webhook/icon" (dict "Size" 20 "HookType" ctx.RootData.HookType)}}
|
|
{{ctx.Locale.Tr (print "repo.settings.web_hook_name_" ctx.RootData.HookType)}}
|
|
</div>
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
|
{{template "repo/settings/webhook/link_menu" ctx.RootData}}
|
|
</div>
|
|
</h4>
|
|
<div class="ui attached segment" data-global-init="initCompWebHookEditorForm">
|
|
{{template "repo/settings/webhook/gitea" ctx.RootData}}
|
|
{{template "repo/settings/webhook/gogs" ctx.RootData}}
|
|
{{template "repo/settings/webhook/slack" ctx.RootData}}
|
|
{{template "repo/settings/webhook/discord" ctx.RootData}}
|
|
{{template "repo/settings/webhook/dingtalk" ctx.RootData}}
|
|
{{template "repo/settings/webhook/telegram" ctx.RootData}}
|
|
{{template "repo/settings/webhook/msteams" ctx.RootData}}
|
|
{{template "repo/settings/webhook/feishu" ctx.RootData}}
|
|
{{template "repo/settings/webhook/matrix" ctx.RootData}}
|
|
{{template "repo/settings/webhook/wechatwork" ctx.RootData}}
|
|
{{template "repo/settings/webhook/packagist" ctx.RootData}}
|
|
</div>
|
|
{{template "repo/settings/webhook/history" ctx.RootData}}
|