|
|
|
@ -5,23 +5,23 @@ |
|
|
|
{{if eq .HookType "gitea"}} |
|
|
|
{{if eq .HookType "gitea"}} |
|
|
|
{{svg "gitea-gitea" $size "img"}} |
|
|
|
{{svg "gitea-gitea" $size "img"}} |
|
|
|
{{else if eq .HookType "gogs"}} |
|
|
|
{{else if eq .HookType "gogs"}} |
|
|
|
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gogs.ico"> |
|
|
|
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gogs.ico"> |
|
|
|
{{else if eq .HookType "slack"}} |
|
|
|
{{else if eq .HookType "slack"}} |
|
|
|
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/slack.png"> |
|
|
|
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/slack.png"> |
|
|
|
{{else if eq .HookType "discord"}} |
|
|
|
{{else if eq .HookType "discord"}} |
|
|
|
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/discord.png"> |
|
|
|
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/discord.png"> |
|
|
|
{{else if eq .HookType "dingtalk"}} |
|
|
|
{{else if eq .HookType "dingtalk"}} |
|
|
|
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/dingtalk.ico"> |
|
|
|
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/dingtalk.ico"> |
|
|
|
{{else if eq .HookType "telegram"}} |
|
|
|
{{else if eq .HookType "telegram"}} |
|
|
|
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/telegram.png"> |
|
|
|
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/telegram.png"> |
|
|
|
{{else if eq .HookType "msteams"}} |
|
|
|
{{else if eq .HookType "msteams"}} |
|
|
|
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/msteams.png"> |
|
|
|
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/msteams.png"> |
|
|
|
{{else if eq .HookType "feishu"}} |
|
|
|
{{else if eq .HookType "feishu"}} |
|
|
|
{{svg "gitea-feishu" $size "img"}} |
|
|
|
{{svg "gitea-feishu" $size "img"}} |
|
|
|
{{else if eq .HookType "matrix"}} |
|
|
|
{{else if eq .HookType "matrix"}} |
|
|
|
{{svg "gitea-matrix" $size "img"}} |
|
|
|
{{svg "gitea-matrix" $size "img"}} |
|
|
|
{{else if eq .HookType "wechatwork"}} |
|
|
|
{{else if eq .HookType "wechatwork"}} |
|
|
|
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/wechatwork.png"> |
|
|
|
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/wechatwork.png"> |
|
|
|
{{else if eq .HookType "packagist"}} |
|
|
|
{{else if eq .HookType "packagist"}} |
|
|
|
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/packagist.png"> |
|
|
|
<img alt width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/packagist.png"> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
|