Add missing templates (#11729)

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
S7evinK 2020-06-03 04:04:52 +02:00 committed by GitHub
parent d9b5c21625
commit dcefcc10e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -26,6 +26,8 @@
<img class="img-13" src="{{StaticUrlPrefix}}/img/msteams.png"> <img class="img-13" src="{{StaticUrlPrefix}}/img/msteams.png">
{{else if eq .HookType "feishu"}} {{else if eq .HookType "feishu"}}
<img class="img-13" src="{{StaticUrlPrefix}}/img/feishu.png"> <img class="img-13" src="{{StaticUrlPrefix}}/img/feishu.png">
{{else if eq .HookType "matrix"}}
<img class="img-13" src="{{StaticUrlPrefix}}/img/matrix.svg">
{{end}} {{end}}
</div> </div>
</h4> </h4>
@ -38,6 +40,7 @@
{{template "repo/settings/webhook/telegram" .}} {{template "repo/settings/webhook/telegram" .}}
{{template "repo/settings/webhook/msteams" .}} {{template "repo/settings/webhook/msteams" .}}
{{template "repo/settings/webhook/feishu" .}} {{template "repo/settings/webhook/feishu" .}}
{{template "repo/settings/webhook/matrix" .}}
</div> </div>
{{template "repo/settings/webhook/history" .}} {{template "repo/settings/webhook/history" .}}

View file

@ -25,6 +25,8 @@
<img class="img-13" src="{{StaticUrlPrefix}}/img/msteams.png"> <img class="img-13" src="{{StaticUrlPrefix}}/img/msteams.png">
{{else if eq .HookType "feishu"}} {{else if eq .HookType "feishu"}}
<img class="img-13" src="{{StaticUrlPrefix}}/img/feishu.png"> <img class="img-13" src="{{StaticUrlPrefix}}/img/feishu.png">
{{else if eq .HookType "matrix"}}
<img class="img-13" src="{{StaticUrlPrefix}}/img/matrix.svg">
{{end}} {{end}}
</div> </div>
</h4> </h4>
@ -37,6 +39,7 @@
{{template "repo/settings/webhook/telegram" .}} {{template "repo/settings/webhook/telegram" .}}
{{template "repo/settings/webhook/msteams" .}} {{template "repo/settings/webhook/msteams" .}}
{{template "repo/settings/webhook/feishu" .}} {{template "repo/settings/webhook/feishu" .}}
{{template "repo/settings/webhook/matrix" .}}
</div> </div>
{{template "repo/settings/webhook/history" .}} {{template "repo/settings/webhook/history" .}}