summaryrefslogtreecommitdiffstats
path: root/templates/admin/hook_new.tmpl
diff options
context:
space:
mode:
authorDr. Tobias Quathamer <toddy15@users.noreply.github.com>2022-01-23 14:46:30 +0100
committerGitHub <noreply@github.com>2022-01-23 21:46:30 +0800
commit3349fd8f7901d9a04769dff71d86fb67374e9395 (patch)
treedc0fecab704696b3106761e9feb41b8670f03fd4 /templates/admin/hook_new.tmpl
parent87141b908d4a03ce27af3ce042dc417da925b84f (diff)
downloadgitea-3349fd8f7901d9a04769dff71d86fb67374e9395.tar.gz
gitea-3349fd8f7901d9a04769dff71d86fb67374e9395.zip
Add packagist webhook (#18224)
Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/admin/hook_new.tmpl')
-rw-r--r--templates/admin/hook_new.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/admin/hook_new.tmpl b/templates/admin/hook_new.tmpl
index 2cd3fc826c..049e54ef83 100644
--- a/templates/admin/hook_new.tmpl
+++ b/templates/admin/hook_new.tmpl
@@ -34,6 +34,8 @@
<img width="26" height="26" src="{{AssetUrlPrefix}}/img/matrix.svg">
{{else if eq .HookType "wechatwork"}}
<img width="26" height="26" src="{{AssetUrlPrefix}}/img/wechatwork.png">
+ {{else if eq .HookType "packagist"}}
+ <img width="26" height="26" src="{{AssetUrlPrefix}}/img/packagist.png">
{{end}}
</div>
</h4>
@@ -48,6 +50,7 @@
{{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" .}}