feat(templates): English certificate template

This commit is contained in:
Nicolai Ort 2024-12-09 17:13:01 +01:00
parent 2bfff006ed
commit eff3354867
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
2 changed files with 106 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,6 +22,9 @@ var ContractTemplateDe string
//go:embed certificate/de.html
var CertificateTemplateDe string
//go:embed certificate/en.html
var CertificateTemplateEn string
//go:embed images/sponsoringheader.base64
var ImageSponsoringHeaderBase64 string
@ -47,7 +50,7 @@ func GetTemplate(locale, templateName string) (string, error) {
case "certificate":
switch locale {
case "en":
return ContractTemplateEn, nil
return CertificateTemplateEn, nil
case "de":
return CertificateTemplateDe, nil
}