feat: add template delete notification (#14250)

This commit is contained in:
Bruno Quaresma
2024-08-14 14:22:43 -03:00
committed by GitHub
parent 86b9c97e8e
commit 6f1951e1c8
7 changed files with 195 additions and 1 deletions
@@ -0,0 +1,22 @@
INSERT INTO
notification_templates (
id,
name,
title_template,
body_template,
"group",
actions
)
VALUES (
'29a09665-2a4c-403f-9648-54301670e7be',
'Template Deleted',
E'Template "{{.Labels.name}}" deleted',
E'Hi {{.UserName}}\n\nThe template **{{.Labels.name}}** was deleted by **{{ .Labels.initiator }}**.',
'Template Events',
'[
{
"label": "View templates",
"url": "{{ base_url }}/templates"
}
]'::jsonb
);