Browse Source

Add missing templates (#11729) (#11748)

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
tags/v1.12.0-rc2
S7evinK 4 years ago
parent
commit
fb155b8fa3
No account linked to committer's email address
2 changed files with 6 additions and 0 deletions
  1. 3
    0
      templates/admin/hook_new.tmpl
  2. 3
    0
      templates/org/settings/hook_new.tmpl

+ 3
- 0
templates/admin/hook_new.tmpl View File

@@ -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 View File

@@ -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" .}}

Loading…
Cancel
Save