{# An alert email's HTML part: a = mail.alert_facts(), link = the alerts page or "". #} {% extends "_layout.html" %} {% from "_parts.html" import badge, button, fact with context %} {% block title %}{{ a.state }}: {{ a.rule }}{% endblock %} {% block body %}