browsertrix/chart/email-templates/failed_bg_job
Ilya Kreymer b23eed5003
Email Templates (#1375)
- 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'
2023-11-15 15:22:12 -08:00

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 }}