{% extends "notifications/email/_base.html" %} {% comment %} Raw-content escape hatch: request_notification(..., content_html=/content_text=) carries the body in the event payload; this template wraps it in the shared brand layout so ad-hoc notifications still look on-brand without a registered type/template. {% endcomment %} {% block content %} {% if content_html %}{{ content_html|safe }}{% else %}

{{ content_text|linebreaksbr }}

{% endif %} {% endblock %}