diff options
author | S7evinK <tfaelligen@gmail.com> | 2020-06-03 04:04:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 22:04:52 -0400 |
commit | dcefcc10e6365f5ee23ba36b09038eab33bf103e (patch) | |
tree | f23cb8d3f9ab3f8e43fd30a4d96292e2feda83a0 /templates | |
parent | d9b5c216250327fa4a3502dc005b8abf19f934e5 (diff) | |
download | gitea-dcefcc10e6365f5ee23ba36b09038eab33bf103e.tar.gz gitea-dcefcc10e6365f5ee23ba36b09038eab33bf103e.zip |
Add missing templates (#11729)
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/hook_new.tmpl | 3 | ||||
-rw-r--r-- | templates/org/settings/hook_new.tmpl | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/admin/hook_new.tmpl b/templates/admin/hook_new.tmpl index 65f567b5dc..26169acaa0 100644 --- a/templates/admin/hook_new.tmpl +++ b/templates/admin/hook_new.tmpl @@ -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" .}} diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl index ce45eed5cd..35bb1610a8 100644 --- a/templates/org/settings/hook_new.tmpl +++ b/templates/org/settings/hook_new.tmpl @@ -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" .}} |