From dcefcc10e6365f5ee23ba36b09038eab33bf103e Mon Sep 17 00:00:00 2001 From: S7evinK Date: Wed, 3 Jun 2020 04:04:52 +0200 Subject: [PATCH] Add missing templates (#11729) Signed-off-by: Till Faelligen Co-authored-by: techknowlogick --- templates/admin/hook_new.tmpl | 3 +++ templates/org/settings/hook_new.tmpl | 3 +++ 2 files changed, 6 insertions(+) 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 @@ {{else if eq .HookType "feishu"}} + {{else if eq .HookType "matrix"}} + {{end}} @@ -38,6 +40,7 @@ {{template "repo/settings/webhook/telegram" .}} {{template "repo/settings/webhook/msteams" .}} {{template "repo/settings/webhook/feishu" .}} + {{template "repo/settings/webhook/matrix" .}} {{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 @@ {{else if eq .HookType "feishu"}} + {{else if eq .HookType "matrix"}} + {{end}} @@ -37,6 +39,7 @@ {{template "repo/settings/webhook/telegram" .}} {{template "repo/settings/webhook/msteams" .}} {{template "repo/settings/webhook/feishu" .}} + {{template "repo/settings/webhook/matrix" .}} {{template "repo/settings/webhook/history" .}}