Skip to content

Commit

Permalink
Add missing templates (#11729) (#11748)
Browse files Browse the repository at this point in the history
Signed-off-by: Till Faelligen <[email protected]>
  • Loading branch information
S7evinK authored Jun 3, 2020
1 parent 7dd9506 commit fb155b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/admin/hook_new.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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" .}}
Expand Down
3 changes: 3 additions & 0 deletions templates/org/settings/hook_new.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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" .}}
Expand Down

0 comments on commit fb155b8

Please sign in to comment.