mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
c1544754f8
Backport #26242 by @silverwind
Fixes: https://github.com/go-gitea/gitea/issues/26241
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 2517da90aa
)
27 lines
1.1 KiB
Handlebars
27 lines
1.1 KiB
Handlebars
{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings new webhook")}}
|
|
<div class="user-setting-content">
|
|
<div class="user-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>
|
|
</div>
|
|
{{template "user/settings/layout_footer" .}}
|