oncall-engine/engine/apps/email
Michael Derynck aebd98b8f9
Change email templating to not wrap user defined templates (#3862)
# What this PR does
Change email notification templates to not wrap the user template in a
fixed body. Info has been moved to a footer. The title now also matches
the template from the user exactly and will only get a default message
if the user template result is empty.
Example:

![Screenshot from 2024-02-08
12-16-38](https://github.com/grafana/oncall/assets/28077050/bb59b7a7-7ec8-4d9d-8aef-8aff012c74f7)

## Which issue(s) this PR fixes
#3857 

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2024-02-09 19:03:25 +00:00
..
migrations Change email message on_delete to not block organization delete (#2060) 2023-05-31 13:44:55 +00:00
templates Change email templating to not wrap user defined templates (#3862) 2024-02-09 19:03:25 +00:00
tests Change email templating to not wrap user defined templates (#3862) 2024-02-09 19:03:25 +00:00
__init__.py Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
alert_rendering.py Change email templating to not wrap user defined templates (#3862) 2024-02-09 19:03:25 +00:00
backend.py Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
inbound.py Fix inbound email integration endpoint (#3586) 2023-12-20 08:40:47 -05:00
models.py Change email message on_delete to not block organization delete (#2060) 2023-05-31 13:44:55 +00:00
tasks.py Add missing success log entries for personal notifications (#3557) 2023-12-14 18:32:26 +00:00