# 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:  ## 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)
23 lines
No EOL
691 B
HTML
23 lines
No EOL
691 B
HTML
<!DOCTYPE html>
|
|
{% autoescape off %}
|
|
{{ message }}
|
|
{% endautoescape %}
|
|
|
|
{% if limit_notification %}
|
|
<br><br>
|
|
<span style="color: #333333;"><em>{{ emails_left }} emails left for the organization today. Contact your admin.</em></span>
|
|
{% endif %}
|
|
|
|
<hr/>
|
|
<a href="{{ url }}">Alert Group #{{ alert_group_number }}</a> from {{ integration }}
|
|
<span>|</span>
|
|
<a href="{{ instance_url }}">{{ instance_url }}</a>
|
|
<span>|</span>
|
|
<a href="https://grafana.com/docs/oncall/latest/">Docs</a>
|
|
<p>
|
|
- Your <a href="https://grafana.com/products/cloud/oncall/">Grafana OnCall</a>
|
|
</p>
|
|
|
|
<!-- this ensures Gmail doesn't trim the email -->
|
|
<span style="display:none;">{% now "H:i.u e"%}</span>
|
|
<!----> |