Skip to content
/ gitea Public
forked from go-gitea/gitea

Commit

Permalink
Add missing templates (go-gitea#11729)
Browse files Browse the repository at this point in the history
Signed-off-by: Till Faelligen <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
  • Loading branch information
S7evinK and techknowlogick authored Jun 3, 2020
1 parent d9b5c21 commit dcefcc1
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 dcefcc1

Please sign in to comment.