go #49

Merged
niggl merged 96 commits from go into main 2024-12-12 15:11:31 +00:00
2 changed files with 106 additions and 1 deletions
Showing only changes of commit eff3354867 - Show all commits

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
}