mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 17:14:24 +00:00
7263b3effe
It's now possible to change webhook-type in create-view. before: ![image](https://github.com/go-gitea/gitea/assets/72873130/9ee1b9fb-843b-4f28-b8d6-6361e5d184f1) after: ![image](https://github.com/go-gitea/gitea/assets/72873130/9dbf058f-5912-43af-9acd-487271212f2d) --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 374e886f5113a996e1e927a60d1775e77262c364) Conflicts: templates/repo/settings/webhook/base_list.tmpl templates/shared/webhook/icon.tmpl
27 lines
1.2 KiB
Go HTML Template
27 lines
1.2 KiB
Go HTML Template
<h4 class="ui top attached header">
|
|
{{.CustomHeaderTitle}}
|
|
<div class="ui right type dropdown">
|
|
<div class="text gt-df gt-ac">
|
|
{{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/forgejo" .ctxData}}
|
|
{{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}}
|