- Emails are now processed from Jinja2 templates found in `charts/email-templates`, to support easier updates via helm chart in the future. - The available templates are: `invite`, `password_reset`, `validate` and `failed_bg_job`. - Each template can be text only or also include HTML. The format of the template is: ``` subject ~~~ <html content> ~~~ text ``` - A new `support_email` field is also added to the email block in values.yaml Invite Template: - Currently, only the invite template includes an HTML version, other templates are text only. - The same template is used for new and existing users, with slightly different text if adding user to an existing org. - If user is invited by the superadmin, the invited by field is not included, otherwise it also includes 'You have been invited by X to join Y'
		
			
				
	
	
		
			17 lines
		
	
	
		
			446 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			446 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Failed Background Job
 | |
| ~~~
 | |
| Failed Background Job
 | |
| ---------------------
 | |
| 
 | |
| Organization: {{ org.name }} ({{ job.oid }})
 | |
| Job type: {{ job.type }}
 | |
| 
 | |
| Job ID: {{ job.id }}
 | |
| Started: {{ job.started.isoformat(sep=" ", timespec="seconds") }}Z
 | |
| Finished: {{ finished.isoformat(sep=" ", timespec="seconds") }}Z
 | |
| 
 | |
| Object type: {{ job.object_type }}
 | |
| Object ID: {{ job.object_id }}
 | |
| File path: {{ job.file_path }}
 | |
| Replica storage name: {{ job.replica_storage.name }}
 |