feat(templates): English certificate template
This commit is contained in:
		
							
								
								
									
										102
									
								
								templates/certificate/en.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										102
									
								
								templates/certificate/en.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -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
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user