feat(coderd): remove greetings from notifications templates (#16991)

This PR aimes to [fix this
issue](https://github.com/coder/internal/issues/448) -

The main idea is to remove greetings from templates stored in the DB -
and instead push it into the template for require methods - for now
SMTP.
This commit is contained in:
Vincent Vielle
2025-03-21 16:05:08 +01:00
committed by GitHub
parent bbe7dacd35
commit fe24a7a4a8
50 changed files with 220 additions and 123 deletions
@@ -14,6 +14,7 @@
{{ .Labels._subject }}
</h1>
<div style="line-height: 1.5;">
<p>Hi {{ .UserName }},</p>
{{ .Labels._body }}
</div>
<div style="text-align: center; margin-top: 32px;">
@@ -1,3 +1,5 @@
Hi {{ .UserName }},
{{ .Labels._body }}
{{ range $action := .Actions }}