Procházet zdrojové kódy

Add missing templates (#11729) (#11748)

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
tags/v1.12.0-rc2
S7evinK před 4 roky
rodič
revize
fb155b8fa3
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 3
- 0
templates/admin/hook_new.tmpl Zobrazit soubor

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

{{template "repo/settings/webhook/history" .}}

+ 3
- 0
templates/org/settings/hook_new.tmpl Zobrazit soubor

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

{{template "repo/settings/webhook/history" .}}

Načítá se…
Zrušit
Uložit