Add missing templates (#11729) (#11748)

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
This commit is contained in:
S7evinK 2020-06-03 20:23:45 +02:00 committed by GitHub
parent 7dd9506d06
commit fb155b8fa3
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" .}}